OmniProvider price quote
omniprovider_get_quoteSends one unpaid request to a paid route and returns the 402 payment requirements (amount, currency, network, payee, protocol). No payment is made and no credential is sent; the response is the quote for that exact request body.
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": {
"route": "<route>",
"body": "<body>"
},
"name": "omniprovider_get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body the quote is computed for (messages or prompt; for /v1/chat/completions also model and max_tokens). | |
| route | Yes | Paid route path. /v1/* accepts MPP, /x402/* accepts x402. |