Skip to content

editor_tabs

MCP tools › Window and UI driver

The editor tabs and split groups of the running Ferris IDEA window. list (default) returns groups in reading order (id, place, focused, tabs with path, pinned, modified, active), plus focused and reopenable. Other actions act on tab path (default active) of group (default focused); open opens a workspace file in a tab, focuses it and brings the window to front. A tab with unsaved changes is never closed and is named in kept_modified. Changes only the view, needs no right. Served by the window over HTTP; unavailable over stdio.

Its results carry text from files: the client is told to treat that as data, never as instructions.

Capabilityui.editor_tabs
AreaWindow and UI driver
Accesschanges ide
Reaches—
Rightsui
Dry runnone

Arguments

ArgumentTypeDescription
actionstringlist (default), open, activate, close, close_others, close_all, pin, unpin, reopen_closed, split_right, split_down, move_to_group or unsplit_all.
groupintegerThe group to act in, by its id from list (default: the group with the focus).minimum 0
pathstringThe tab's file, workspace-relative or absolute (default: the group's active tab).
to_groupintegerFor move_to_group: the target group (default: the next group in reading order).minimum 0

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 editor_tabs
Input schema as JSON
{
"type": "object",
"properties": {
"action": {
"description": "`list` (default), `open`, `activate`, `close`, `close_others`, `close_all`, `pin`, `unpin`,\n`reopen_closed`, `split_right`, `split_down`, `move_to_group` or `unsplit_all`.",
"type": [
"string",
"null"
],
"default": null
},
"group": {
"description": "The group to act in, by its `id` from `list` (default: the group with the focus).",
"type": [
"integer",
"null"
],
"default": null,
"minimum": 0
},
"path": {
"description": "The tab's file, workspace-relative or absolute (default: the group's active tab).",
"type": [
"string",
"null"
],
"default": null
},
"to_group": {
"description": "For `move_to_group`: the target group (default: the next group in reading order).",
"type": [
"integer",
"null"
],
"default": null,
"minimum": 0
}
}
}