create_group
Creates a provider group for load balancing LLM API requests across multiple providers with configurable strategies and session stickiness.
Instructions
Create a new provider group for load balancing.
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": {
"name": "<name>",
"members": "<members>",
"strategy": "<strategy>"
},
"name": "create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Group name (e.g. "anthropic-keys", "fast-models") | |
| members | Yes | Array of provider members: [{ provider, keyName?, weight?, priority? }] | |
| strategy | Yes | Balancing strategy: "round-robin", "random", "failover", "weighted" | |
| stickyTTL | No | Session stickiness TTL in seconds (optional) | |
| modelPattern | No | Glob pattern to match model names (e.g. "claude-*", "gpt-*,claude-*") |