Skip to content

ai_session_focus

MCP tools › Window and UI driver

Change what the AI Chat window shows (SPEC-0363 behaviour 74): action show with id (a session from ai_sessions), next_needs_you, previous_needs_you, open_switcher or close_popup. Only the view changes: it never answers a request, starts, stops or sends anything. Refused for an unknown session. Needs no right.

Capabilityui.ai_session_focus
AreaWindow and UI driver
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
actionrequiredstringshow (with id), next_needs_you, previous_needs_you, open_switcher or close_popup.
idstringThe session to show (id from ai_sessions).

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 ai_session_focus '{"action":"<string>"}'
Input schema as JSON
{
"properties": {
"action": {
"description": "`show` (with `id`), `next_needs_you`, `previous_needs_you`, `open_switcher` or\n`close_popup`.",
"type": "string"
},
"id": {
"description": "The session to show (`id` from `ai_sessions`).",
"type": [
"string",
"null"
]
}
},
"required": [
"action"
],
"additionalProperties": false,
"type": "object"
}