Exchange
An annotated tool definition
1 file1 KB
A look inside
The first lines of annotated-tool-definition.zip. The whole file is in your library once you get it.
{
"name": "search_orders",
"description": "Find a customer's orders by email. Use when the user asks about an order and you don't have its ID. Returns at most 20, newest first.",
"input_schema": {
"type": "object",
"properties": {
"email": {"type": "string", "description": "The customer's email address"},
"limit": {"type": "integer", "description": "How many to return, 1-20. Default 10.", "minimum": 1, "maximum": 20, "default": 10}
},
"required": ["email"]
}
}What is inside
- annotated-tool-definition.zip1 KB
How to use it
A real tool definition, its name, its description and its input shape, with a note on every line saying why it is written that way.
Read the .md beside the .json, then write your own tool the same way.
Run before it was listed
Tested 2026-11-27: The JSON parses. A template: nothing to run.