public
|
__construct(
null|non-empty-string $title = null,
null|bool $readOnlyHint = null,
null|bool $destructiveHint = null,
null|bool $idempotentHint = null,
null|bool $openWorldHint = null,
)
Parameters
| $title |
A human-readable title for the tool.
|
| $readOnlyHint |
If true, the tool does not modify its environment.
|
| $destructiveHint |
If true, the tool may perform destructive updates to its environment.
If false, the tool performs only additive updates.
|
| $idempotentHint |
If true, calling the tool repeatedly with the same arguments will have no additional
effect on the its environment.
|
| $openWorldHint |
If true, this tool may interact with an “open world” of external entities. If false,
the tool’s domain of interaction is closed. For example, the world of a web search
tool is open, whereas that of a memory tool is not.
|
|
#
|