model_assign
MCP tools › Window and UI driver
Choose the model of a task, or change it later: task (default applies to every task without its own), provider (registered and enabled), model (one of the provider's models when it lists any), or remove. The earlier choice is kept in the assignment's history (last 20, with the time of each change). Answers the previous choice and the model that now applies. dry_run defaults to true; dry_run=false needs the user-granted settings right.
| Capability | ui.model_assign |
|---|---|
| Area | Window and UI driver |
| Access | changes settings |
| Reaches | — |
| Rights | settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
taskrequired | string | The task: 1 to 64 characters of a-z, 0-9, -, _, .; default applies to every task
without its own. |
provider | string | The provider id. Needed unless remove. |
model | string | The model. Needed unless remove. |
remove | boolean | Remove the task's assignment.default false |
dry_run | boolean | Only show what would be written (default true); false needs the settings right. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project model_assign '{"task":"<string>"}'Input schema as JSON
{ "properties": { "task": { "description": "The task: 1 to 64 characters of a-z, 0-9, -, _, .; `default` applies to every task\nwithout its own.", "type": "string" }, "provider": { "description": "The provider id. Needed unless `remove`.", "type": [ "string", "null" ] }, "model": { "description": "The model. Needed unless `remove`.", "type": [ "string", "null" ] }, "remove": { "description": "Remove the task's assignment.", "type": "boolean", "default": false }, "dry_run": { "description": "Only show what would be written (default true); false needs the `settings` right.", "type": [ "boolean", "null" ] } }, "required": [ "task" ], "additionalProperties": false, "type": "object"}