lint_tool_definition
Sanity-check a tool definition for common mistakes that hurt LLM tool-use accuracy: missing or vague descriptions, omitted required fields, schema fields without descriptions, and non-snake_case names.
Instructions
Sanity-check a tool definition for common mistakes that hurt LLM tool-use accuracy: missing description, vague description, no required fields, schema fields without descriptions, non-snake_case names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "<tool>"
},
"name": "lint_tool_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | A tool definition: { name, description, inputSchema }. |