Get a binding quote
get_quoteLock the final price of one plan for a short time before you buy it. Use it after search_plans, with a product id from its results, and before purchase. Returns quote (quote_id, product, price, expires_at), mandate_precheck and wallet_precheck (will the purchase be allowed and funded), refund_terms and a next-step hint. It creates a quote but charges nothing and holds no funds; the lock lasts quote_ttl_seconds (see get_policies) and one quote buys once. Example: {product_id: "wh1-5838281"}.
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": {
"product_id": "<product_id>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Your agent id (or X-Agent-Id header) | |
| agent_key | No | Secret returned by register_agent (or X-Agent-Key header) | |
| product_id | Yes | Product id exactly as search_plans returned it in results[].id, for example wh1-5838281 | |
| principal_id | No | The principal you act for (or X-Principal-Id header) |