final | |
|---|---|
readonly | |
implements |
Arrayable<array{mode?: value-of<ToolChoiceMode>}> |
Controls tool selection behavior for sampling requests.
| Methods | ||
|---|---|---|
public
|
__construct(?ToolChoiceMode $mode = null)
|
# |
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array|stdClass
|
# |
| Properties | |||
|---|---|---|---|
public
|
?ToolChoiceMode
|
$mode
|
# |