ToolParameter Type
Describes a single parameter a tool accepts in its JSON input object.
Record fields
| Record Field |
Description
|
Full Usage:
Default
Field type: string option
|
Default value applied when the parameter is omitted, if any
|
Full Usage:
Description
Field type: string
|
Human-readable description of the parameter
|
Full Usage:
Examples
Field type: string list
|
Example values for documentation / few-shot prompting
|
Full Usage:
Name
Field type: string
|
Parameter name (the JSON object key)
|
Full Usage:
Required
Field type: bool
|
Whether this parameter is required
|
Full Usage:
Type
Field type: string
|
Type hint (e.g. "string", "int", "object", "array")
|
Nao