Skip to content

Remove provideContext() and clearContext()#132

Merged
domfarolino merged 2 commits intomainfrom
remove-provide-context
Mar 5, 2026
Merged

Remove provideContext() and clearContext()#132
domfarolino merged 2 commits intomainfrom
remove-provide-context

Conversation

@domfarolino
Copy link
Collaborator

@domfarolino domfarolino commented Mar 5, 2026

This PR closes #101, and follows the proposal in #101 (comment).

We'll follow-up in #130 for the rest of that comment above, by designing a tool unregistration mechanism that fits in with the rest of the platform.


Preview | Diff

@domfarolino domfarolino requested a review from bwalderman March 5, 2026 13:51
@beaufortfrancois
Copy link
Contributor

Should we also update docs/proposal.md?

@domfarolino
Copy link
Collaborator Author

Should we also update docs/proposal.md?

Good catch, the latest commit does this, PTAL!

@domfarolino domfarolino merged commit fe84c67 into main Mar 5, 2026
2 checks passed
@domfarolino domfarolino deleted the remove-provide-context branch March 5, 2026 19:47
github-actions bot added a commit that referenced this pull request Mar 5, 2026
SHA: fe84c67
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
beckysiegel pushed a commit to chromium/chromium that referenced this pull request Mar 5, 2026
Spec PR: webmachinelearning/webmcp#132

Bug: 489045948
Change-Id: I7a2aca7649681590364015c7a3ba18129add9226
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7628171
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1594871}
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.

navigator.modelContext.provideContext allows overwriting of previously registered tools in the same environment

3 participants