via_one_call_quote
Free quote for the VIA toll: VIA-owned delivery first, eligible paid supplier otherwise. Returns supplier cost, VIA margin and total. Use maxUsdc '0' to check the price with no approved spend. No wallet signature or payment. Continue only if ok and executionEnabled are true.
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": {
"task": "<task>",
"maxUsdc": "<maxUsdc>"
},
"name": "via_one_call_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| maxUsdc | Yes | Maximum approved total in USDC, including supplier and VIA margin. | |
| orderId | No | Private client-generated UUIDv4. Required for execution; preserve it and the exact body for payment retry and recovery. |