class ProviderToolCall implements Arrayable, JsonSerializable

Methods

__construct(string $id, string $type, array $data)

Create a provider tool call.

array
toArray()

Get the instance as an array.

array
jsonSerialize()

Get the JSON serializable representation of the instance.

Details

at line 17
__construct(string $id, string $type, array $data)

Create a provider tool call.

Parameters

string $id
string $type
array $data

at line 27
array toArray()

Get the instance as an array.

Return Value

array

at line 39
array jsonSerialize()

Get the JSON serializable representation of the instance.

Return Value

array