Commit 489d632
committed
mcp(docs[tools/sessions]): note SessionInfo.active_pane_id surfaces the new pane id
The ``create_session`` response gained an ``active_pane_id`` field
earlier in this branch (commit ``3f092bb``), but the docs still
showed the pre-change response shape — readers landing on
``sessions.md`` had no signal that this field exists or what
they'd do with it.
Updates the example response to include the field, then adds a
brief tip explaining the workflow win: callers can target
subsequent ``send_keys`` / ``split_window`` / ``capture_pane``
calls against ``active_pane_id`` directly without a follow-up
``list_panes`` round-trip. Saves one MCP call in the most common
"create a session, then act on it" workflow that prompts like
``build_dev_workspace`` already exploit.
The full field surface is auto-rendered in
``docs/reference/api/models.md`` via the ``fastmcp_model_classes``
registration — this commit just adds the narrative discoverability
that explains why the field exists.1 parent ba26d68 commit 489d632
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
184 | 195 | | |
185 | 196 | | |
186 | 197 | | |
| |||
0 commit comments