compare_validation_modes
Compare Pydantic validation modes to understand how model, TypeAdapter, strict, and JSON-vs-Python validation handle data differently.
Instructions
Compare model, TypeAdapter, strict, and JSON-vs-Python validation behavior.
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": {
"target": "<target>",
"data": "<data>"
},
"name": "compare_validation_modes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| artifacts | No | ||
| diagnostics | No | ||
| resolved_target | No |