CustomToolParam interface
A custom tool that processes input using a specified format. Learn more about custom tools
- Extends
Properties
| defer_loading | Whether this tool should be deferred and discovered via tool search. |
| description | Optional description of the custom tool, used to provide more context. |
| format | The input format for the custom tool. Default is unconstrained text. |
| name | The name of the custom tool, used to identify it in tool calls. |
| type | The type of the custom tool. Always |
Property Details
defer_loading
Whether this tool should be deferred and discovered via tool search.
defer_loading?: boolean
Property Value
boolean
description
Optional description of the custom tool, used to provide more context.
description?: string
Property Value
string
format
The input format for the custom tool. Default is unconstrained text.
format?: CustomToolParamFormatUnion
Property Value
name
The name of the custom tool, used to identify it in tool calls.
name: string
Property Value
string
type
The type of the custom tool. Always custom.
type: "custom"
Property Value
"custom"