Skip to content

feat: replace delete_notebook with tab management tools - #10

Open
emrberk wants to merge 2 commits into
masterfrom
feat/tab-management-tools
Open

emrberk wants to merge 2 commits into
masterfrom
feat/tab-management-tools

Conversation

@emrberk

@emrberk emrberk commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates shared-definitions.json from the Web Console.

Companion PR: questdb/ui#627

  • Tab tools: delete_notebook is replaced by five tools that work on SQL editor, metrics, and notebook tabs:
    • archive_tab: closes a tab into history (reversible).
    • restore_tab: reopens a closed tab without switching to it.
    • activate_tab: switches the user to an open tab, only after the user agrees.
    • rename_tab: renames a tab (1–100 characters).
    • delete_tab: permanently deletes a tab, only when the user asks.
  • Replay flag: the five tab tools carry "mutatesWorkspace": true. The console uses it to avoid replaying an AI turn that already changed tabs. The bridge only exposes name, description and inputSchema, so the advertised tool list does not change.
  • Workspace: the Web Console now lists every tab in <workspace> / get_workspace_state, with kind and archived. User close and delete events cover every tab kind. The behavior lives in the console. This repo only carries the updated tool definitions.

Compatibility: the bridge advertises its bundled tool list. This version and a Web Console without questdb/ui#627 do not match: that console does not handle the new tools. Bridge 0.5.0 with the new console still offers delete_notebook, which the console no longer handles. Release this together with questdb/ui#627. The console then bumps EXPECTED_MCP_VERSION.

Testing

AI assistance

AI assistance was used for implementation and validation.

…he tab tools

Mirrors questdb/ui#627. The console now marks archive_tab, restore_tab, activate_tab, rename_tab and delete_tab with "mutatesWorkspace": true so a failed AI turn is not replayed after a tab change. The bridge only exposes name, description and inputSchema, so the tool list it advertises is unchanged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants