Route a task to the best live endpoint
route_taskDescribe what you need; get the best payable x402 endpoint plus fallbacks, each re-challenged live seconds ago, with payment requirements and exact call instructions. Optionally validates your input against each candidate's schema.
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": {
"task": "<task>"
},
"name": "route_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| asset | No | ||
| input | No | ||
| limit | No | ||
| max_usd | No | ||
| network | No |