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.
| Capability | ui.ai_session_focus |
|---|---|
| Area | Window and UI driver |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
actionrequired | string | show (with id), next_needs_you, previous_needs_you, open_switcher or
close_popup. |
id | string | The 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.
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"}