Best service for task
best_service_for_taskUse when a router agent must pick which paid x402 service to send a task to: send the task in plain words, get the top listing from P0's snapshot of listed x402 services plus up to 4 alternatives. Returns the paid x402 request for your input (GET /route, $0.01 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Paid pick of one service for one task; for free browsing and comparing use search_x402_services. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.
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": "best_service_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | the task in plain words, e.g. 'screen a wallet address for sanctions' (2-200 characters) |