drive_time
$0.01 per call. Pay with x402 (USDC on Base) in _meta["x402/payment"]; MPP (tempo) on the HTTP URL /v1/drive. Driving time/distance between two named places.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "drive_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Disambiguation hint, e.g. 'Orlando, FL' | |
| origin | Yes | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| miles | Yes | ||
| origin | Yes | ||
| minutes | Yes | ||
| estimated | Yes | true = straight-line fallback, not a road route | |
| distance_m | Yes | ||
| duration_s | Yes | ||
| attribution | Yes | ||
| destination | Yes |