Route a call and prove its receipt
route_and_proveOne call that composes route_chat + get_receipt + verify_receipt: routes a chat completion through the same policy, budget, and metering pipeline, then fetches the minted audit receipt and verifies it against the chain. Returns the completion (or the route failure — blocked and failed attempts are receipted too, and their receipts are proved the same way), the charge lines, the proof block, and an explicit not_proven list naming what the proof does not cover.
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": {
"messages": "<messages>"
},
"name": "route_and_prove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional pin: "provider:model" (e.g. "groq:llama-3.3-70b-versatile"), "custom:<endpoint_id>:<model>", or a bare catalog model id. | |
| messages | Yes | OpenAI-shaped messages: [{role, content}] with role system|user|assistant|tool. | |
| max_tokens | No | Optional cap on the completion's output tokens. | |
| task_profile | No | Optional routing profile: reasoning (deepest models), tool-use, or bulk (cheapest/fastest). Defaults to your standing terms. |