introspect_schema
Converts a Zod schema string to JSON Schema, revealing the structure and constraints for LLM interpretation.
Instructions
Convert a Zod schema string to JSON Schema for LLM understanding. Use to answer: what is the structure and constraints of this schema?
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": {
"schema_code": "<schema_code>"
},
"name": "introspect_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_code | Yes | Zod schema code (e.g., 'z.object({ name: z.string() })') |