Skip to content

Add debugging member to ToolAnnotations - #253

Open
beaufortfrancois wants to merge 1 commit into
webmachinelearning:mainfrom
beaufortfrancois:debugging-member
Open

beaufortfrancois wants to merge 1 commit into
webmachinelearning:mainfrom
beaufortfrancois:debugging-member

Conversation

@beaufortfrancois

@beaufortfrancois beaufortfrancois commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Following the WebML CG resolution, this PR adds a debugging boolean member to the ToolAnnotations dictionary to provide a way for web apps and frameworks to register tools intended specifically for developer tooling and inspection (e.g., Chrome DevTools AI assistance, testing frameworks) so that general-purpose/end-user agents can filter them out.

Note that I went with debugging rather than debuggingHint because it is a definitive categorization flag identifying the tool's intended domain/audience (developer/debugging tools vs. user-facing tools) rather than a behavioral hint about how the tool executes.

Fixes #207


Preview | Diff

@beaufortfrancois

Copy link
Copy Markdown
Collaborator Author

FYI I have a WIP Chromium CL at https://chromium-review.googlesource.com/c/chromium/src/+/8398587

@markafoltz
markafoltz self-requested a review September 16, 2026 21:24
@markafoltz

Copy link
Copy Markdown
Collaborator

PR LGTM.

One question that comes to mind is whether a tool marked as debugging must not set consequentialHint. Those two categories seem mutually exclusive, as debugging should not have irreversible, real-world side effects.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support developer tooling

3 participants