evaluate_document_compliance
Validate extracted document fields against a schema, reporting missing required fields, pattern violations, confidence score, and triage verdict.
Instructions
Check an extracted document against a declared schema. Reports missing required fields, pattern violations, a confidence score, and a triage verdict. This is deterministic field validation over regex rules, not document understanding.
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": {
"document_payload": "<document_payload>"
},
"name": "evaluate_document_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_type | No | asset_handover | |
| strict_mode | No | When true a pattern violation fails the document; when false it is downgraded to a warning. | |
| document_payload | Yes | Key-value fields extracted from the document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||