request_quote
Request a FREE commercial quote for a capability execution. AOI dynamically evaluates the price based on the requested service. Returns quote_id, final USD price, currency, and validity (15 min). No execution happens and NO credits are consumed — review the price first, then call execute_quote. Requires an API key (X-API-Key header or Authorization: Bearer ).
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": {
"capability_id": "<capability_id>",
"input_data": "<input_data>"
},
"name": "request_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Capability-specific input parameters (e.g. {lat, lon}) | |
| capability_id | Yes | The capability ID to quote | |
| idempotency_key | No | Optional idempotency key. Same key + same request returns the same quote. |