API reference · schema
ToolDef
4 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
name | string | default "" |
description | string | default "" |
input_schema | object | |
examples | array of any |
Smallest valid example
{
"name": "",
"description": ""
}JSON Schema
Show the raw definition
{
"properties": {
"name": {
"type": "string",
"title": "Name",
"default": ""
},
"description": {
"type": "string",
"title": "Description",
"default": ""
},
"input_schema": {
"additionalProperties": true,
"type": "object",
"title": "Input Schema"
},
"examples": {
"items": {},
"type": "array",
"title": "Examples"
}
},
"type": "object",
"title": "ToolDef"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem