Route Provider
route_providerRank up to 1,000 caller-supplied providers by quality, success rate, price and latency, returning one selection plus at most three alternates. Candidates marked unhealthy or priced above requirements.maxPrice are excluded; quality defaults to successRate and an empty eligible set returns selected=null with a reason. Use this free read-only calculation only with comparable metrics you already hold because it neither discovers providers nor verifies measurements. A successful selection includes an optional buyer-controlled verify_execution handoff; it does not charge or initiate payment.
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": {
"providers": "<providers>"
},
"name": "route_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| providers | Yes | Up to 1,000 provider candidates to rank. An empty list returns no eligible provider; unhealthy candidates are excluded. | |
| requirements | No | Routing constraints. maxPrice is the currently enforced constraint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Human-readable explanation of the routing result. | |
| nextStep | No | Optional buyer-controlled path from a useful free result to ARN's proven paid execution-verification capability. Presence does not charge or initiate payment. | |
| selected | Yes | Highest-ranked eligible provider, including its computed score, or null. | |
| alternates | Yes | Up to three next-ranked eligible providers. |