extract_with_gate
Extract specified fields from document text, automatically returning confident values and queuing uncertain ones for human verification.
Instructions
Extract fields from a document. High-confidence values return immediately; uncertain values are held in a human-review queue instead of guessed. Fields: invoice_number, total_amount, date, email, vendor_name.
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": {
"text": "<text>",
"fields": "<fields>"
},
"name": "extract_with_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The document text | |
| fields | Yes | Field names to extract |