{ "$id": "toolcall-verifier-input/v2", "type": "object", "required": [ "schema_version", "user_request", "workflow_state", "available_tools", "candidate_call" ], "properties": { "schema_version": { "const": "toolcall-verifier-input/v2" }, "user_request": { "type": "string" }, "workflow_state": { "type": "object", "required": [ "required_steps", "completed_steps", "pending_steps", "terminal_tools" ], "properties": { "required_steps": { "type": "array", "items": { "type": "string" } }, "completed_steps": { "type": "array", "items": { "type": "string" } }, "pending_steps": { "type": "array", "items": { "type": "string" } }, "terminal_tools": { "type": "array", "items": { "type": "string" } }, "recent_errors": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "available_tools": { "type": "array", "items": { "type": "object", "required": [ "name", "description", "parameters" ], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "parameters": { "type": "object" } }, "additionalProperties": true } }, "candidate_call": { "oneOf": [ { "type": "object", "required": [ "name", "arguments" ], "properties": { "name": { "type": "string" }, "arguments": { "type": "object" } }, "additionalProperties": true }, { "type": "array" }, { "type": "object" } ] }, "metadata": { "type": "object", "properties": { "scenario_family": { "type": [ "string", "null" ] }, "requires_transform": { "type": [ "boolean", "null" ] }, "requires_synthesis": { "type": [ "boolean", "null" ] }, "requires_all_tool_facts": { "type": [ "boolean", "null" ] }, "must_acknowledge_missing_data": { "type": [ "boolean", "null" ] } }, "additionalProperties": false } }, "additionalProperties": false }