validate_extraction_schema
Validates extracted data against a defined schema to ensure it contains only requested fields without commentary or evaluative language.
Instructions
Validate that extraction output follows a strict schema.
Detects parenthetical comments, notes sections, evaluative language. Use when user requests pure data extraction.
Args: output: The extraction output to validate. fields: Expected field names in output. allow_commentary: Whether commentary is allowed (default: False).
Returns: Extraction schema validation result.
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": {
"output": "<output>",
"fields": "<fields>"
},
"name": "validate_extraction_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| fields | Yes | ||
| allow_commentary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||