Repository navigation
Support branches in the existing MCP tools - #272
Draft
nathanjcochran wants to merge 1 commit into
Draft
nathanjcochran wants to merge 1 commit into
nathanjcochran wants to merge 1 commit into
Conversation
nathanjcochran
added this pull request to stack #273
October 21, 2026 22:07
nathanjcochran
force-pushed
the
nathan/branches-4-existing-tools
branch
from
October 21, 2026 22:17
7a21733 to
d3af981
Compare
nathanjcochran
force-pushed
the
nathan/branches-4-existing-tools
branch
from
October 22, 2026 20:20
d3af981 to
39a0a86
Compare
db_query and db_schema now resolve service_id through the API's resolve endpoint, so behind the experimental gate they accept a branch ID as well as a service or read replica set ID, and a paused or unready branch points at the branch tools. service_get returns a fluid service's branch count behind the gate. service_delete names the branches deleted along with a fluid service in its PROD prompt and its result, regardless of the gate.
nathanjcochran
force-pushed
the
nathan/branches-4-existing-tools
branch
from
October 22, 2026 21:41
39a0a86 to
d465879
Compare
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.
Updates existing MCP tools for branches, mirroring the CLI changes to the
dband service commands.db_queryanddb_schemaresolveservice_idthrough the API's resolve endpoint. BehindTIGER_EXPERIMENTAL, they also accept a branch ID, and their descriptions say so. A paused or unready branch points atbranch_startorbranch_get.service_getreturns a fluid service'sbranch_countbehind the gate. Without the gate, the field is left out of its schema.service_deletenames the branches deleted along with a fluid service, in its PROD prompt and in its result message. This isn't gated, since the branches are deleted either way. Only the tool description mentions branches behind the gate.Release ordering:
db_queryanddb_schemanow depend on the resolve endpoint, so this can't be released before the API ships it.