via_one_call
Execute a VIA toll operation through the existing One-Call payment and delivery handler. First call without payment returns the live x402 offer; only after buyer approval, retry IDENTICAL task, maxUsdc and private orderId with the buyer-signed payload in params._meta['x402/payment']. Buyer pays VIA before an eligible external supplier is paid; VIA relays delivery and retains its margin. Only supported tasks/suppliers. No automatic signing or financial retry. Prepaid comparison credits do not fund this tool.
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>",
"orderId": "<orderId>"
},
"name": "via_one_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| maxUsdc | Yes | Maximum approved total in USDC, including supplier and VIA margin. | |
| orderId | Yes | Private client-generated UUIDv4. Required for execution; preserve it and the exact body for payment retry and recovery. |