invoice_extract
ActiveTool of WingmanProtocol Agent Gateway
Extract structured fields from raw invoice TEXT (vendor, number, dates, line items, totals). Free local model, or BYOK a stronger model (api_key) for quality. Returns {ok, invoice}. Caller supplies the text (no PDF/OCR).
Parameters schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "the invoice's raw text"
},
"model": {
"type": "string",
"description": "BYOK model id (optional)"
},
"handle": {
"type": "string",
"description": "your handle (for BYOK via vault)"
},
"secret": {
"type": "string",
"description": "your agent secret (for BYOK via vault)"
},
"api_key": {
"type": "string",
"description": "BYOK provider key for higher quality (optional)"
},
"key_ref": {
"type": "string",
"description": "vault entry holding your provider key (BYOK alt)"
},
"base_url": {
"type": "string",
"description": "BYOK OpenAI-compatible endpoint (optional)"
},
"provider": {
"type": "string",
"description": "BYOK provider (optional)"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
WingmanProtocol Agent Gateway
https://github.com/WingmanProtocol-Agent-Gateway/wingman-agent-gateway
1/7 registries