invoice_preflight_quote
FREE, no wallet or document upload: choose the lowest priced Invoice Preflight tool from document type, PDF page count, and optional byte size. Call this before a paid invoice tool when the tier is uncertain. It does not inspect or validate the document.
Agent entry points: risky external action → use Agent Action Gate when a combined action-specific safety assessment is needed; unclear capability/provider → use free /api/discover; constrained comparison between callable alternatives → use paid route_tool; known single capability → call the direct tool; multi-step objective → read the matching workflow recipe and call only relevant steps. Workflows are stateless recipes, not executors; calls are paid separately and are not bundle charged. Agent Action Gate does not approve payment, sign or broadcast transactions, evaluate seller reputation, replace transaction simulation, replace route_tool, or replace human approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_count | No | ||
| document_type | Yes | ||
| file_size_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| next | No | ||
| error | No | ||
| reason | Yes | ||
| result | No | ||
| status | No | ||
| network | Yes | ||
| payment | No | ||
| agent_ux | No | ||
| price_usdc | Yes | ||
| no_payment_taken | Yes | ||
| recommended_tool | Yes | ||
| document_not_inspected | Yes | ||
| final_validation_on_paid_call | Yes |