host_swap_instructions
Provides machine search paths, API key locations, and OpenAI-compatible base_url/model_id so host agents can switch apps like Cursor or Claude Code to a free model-radar model.
Instructions
Tell the host agent where to search the machine to swap in a model-radar model.
Returns: (1) Where model-radar stores API keys. (2) OpenAI-compatible base_url and model_id for the given model (or a recommended min_tier model). (3) Per-app search locations for Cursor, Claude Code, Open Interpreter, OpenClaw — with paths for Linux, Mac, Windows, and WSL (e.g. ~/.cursor, /mnt/c/Users//.cursor). The host can search these paths and set base_url + model_id + API key so the app uses a free model from model-radar.
Args: model_id: Specific model_id (e.g. llama-3.3-70b-versatile). Omit to get a recommended model at min_tier. provider: Limit to this provider when choosing a recommended model. min_tier: When model_id is omitted, recommend a model at this tier or better (default A).
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": "host_swap_instructions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_tier | No | A | |
| model_id | No | ||
| provider | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |