routing
Configure provider routing strategies for API calls, selecting between cost optimization, speed, quality, or balanced approaches with customizable quality thresholds.
Instructions
Get or set your provider routing strategy. Strategies: cheapest (lowest cost above quality floor), fastest (healthiest circuits), highest_quality (highest AN score), balanced (weighted mix). Quality floor filters out low-quality providers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action: 'get' to check strategy, 'set' to update | |
| strategy | No | Strategy: cheapest, fastest, highest_quality, balanced | |
| quality_floor | No | Minimum AN score (0-10, default 6.0) | |
| max_cost_per_call_usd | No | Maximum cost per call in USD |