set_model_policy
Configure allowed-model glob patterns and tier-specific model pins to control which models agents may use under user-defined rules.
Instructions
Set which models agents may use. Call it when the user states model rules in their instructions.
allowed_models: glob patterns; omp models match their selector ("openai-codex/", "anthropic/claude-sonnet-", "/gpt-6", "litellm/"), Claude Code models match "claude-code/" ("claude-code/"). [] allows everything. tiers: pin a model per tier, e.g. {"frontier": "openai-codex/gpt-6.1-sol"}. {} unpins all. Only the fields you pass change. The rules last until the MCP server restarts (usually with the app); the user's permanent defaults are the same two keys in ~/.agent-bridge/config.json.
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": "set_model_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tiers | No | ||
| allowed_models | No |