Repository navigation
Conversation
…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.
javier
approved these changes
Nov 10, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
shared-definitions.jsonfrom the Web Console.Companion PR: questdb/ui#627
delete_notebookis 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."mutatesWorkspace": true. The console uses it to avoid replaying an AI turn that already changed tabs. The bridge only exposesname,descriptionandinputSchema, so the advertised tool list does not change.<workspace>/get_workspace_state, withkindandarchived. 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 bumpsEXPECTED_MCP_VERSION.Testing
src/test/bundledTools.test.ts: checks that all five tools exist with their required inputs and thatdelete_notebookis gone.vitest run(315 tests),eslint src, andtsc --noEmitpass.shared-definitions.jsonis identical to the file in feat: Tabs panel, example dashboards for showcase deployments, and tab tools for the AI assistant and MCP ui#627 (synced again after its review fixes).yarn buildpasses.AI assistance
AI assistance was used for implementation and validation.