Skip to content

Describe the traversable scope of WebMCP getTools() - #382

Merged
domfarolino merged 1 commit into
webmachinelearning:mainfrom
JinDX:fix-webmcp-gettools-overview-traversable-scope
Nov 11, 2026
Merged

domfarolino merged 1 commit into
webmachinelearning:mainfrom
JinDX:fix-webmcp-gettools-overview-traversable-scope

Conversation

@JinDX

@JinDX JinDX commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

The getTools() overview limits discovery to the calling document and its descendants. The algorithm starts from the active document of the caller’s traversable, so an eligible parent or sibling document can also contribute tools. Align the overview with the existing traversal and exposure checks.

Translations: Chinese · Japanese · Korean


Preview | Diff

@domfarolino domfarolino left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is true for now, but note that this will be changing as part of the work in #375.

@domfarolino
domfarolino merged commit 0c3e712 into webmachinelearning:main Nov 11, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Nov 11, 2026
SHA: 0c3e712
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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