Skip to content

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.

Capabilityui.model_assign
AreaWindow and UI driver
Accesschanges settings
Reaches—
Rightssettings
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
taskrequiredstringThe task: 1 to 64 characters of a-z, 0-9, -, _, .; default applies to every task without its own.
providerstringThe provider id. Needed unless remove.
modelstringThe model. Needed unless remove.
removebooleanRemove the task's assignment.default false
dry_runbooleanOnly 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.

Terminal window
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"
}