inspect_model
Inspect a Pydantic model to view its fields, types, defaults, and validators. Understand model structure without reading source files manually.
Instructions
Inspect a Pydantic model: fields with types/defaults, and validators.
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": {
"file": "<file>",
"model": "<model>"
},
"name": "inspect_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| model | Yes |