ToolDef Type
Parsed tool definition loaded from JSON configuration. A tool is either prompt-defined (LLM-backed, sync) or executable (process/HTTP/custom, sync or async) — see `ToolKind`.
Record fields
| Record Field |
Description
|
Full Usage:
Description
Field type: string
|
Human-readable description shown to agents
|
Whether this tool is prompt-defined or executable, and how it executes.
|
|
Full Usage:
Name
Field type: string
|
Unique name identifying this tool
|
Full Usage:
OutputContentType
Field type: string
|
Content type of the tool's output (e.g. "text/plain", "application/json")
|
|
Where this tool definition came from (populated by the loading source).
|
|
Optional execution definition for reverting changes (executable tools only)
|
|
Optional execution definition for verifying output (executable tools only)
|
Full Usage:
Version
Field type: string option
|
Optional version identifier (e.g. "1.0"). None = unversioned; matches any requested version.
|
Nao