Skip to content

Editorial: sync explainers with spec (ToolAnnotations link, toolcancel event) - #350

Merged
domfarolino merged 2 commits into
webmachinelearning:mainfrom
LF3551:editorial/sync-explainers-with-spec
Oct 16, 2026
Merged

domfarolino merged 2 commits into
webmachinelearning:mainfrom
LF3551:editorial/sync-explainers-with-spec

Conversation

@LF3551

@LF3551 LF3551 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Two small editorial fixes that bring the explainers in line with the current spec. No normative changes.

security-privacy-questionnaire.md

  • The "Tool annotations" link pointed to #dom-modelcontexttoolannotations, which no longer exists in the published spec. It now points to the ToolAnnotations dictionary (#dictdef-toolannotations).

declarative-api-explainer.md

I found these while checking every deep link from the explainers against the published spec. All other links resolve.

The #dom-modelcontexttoolannotations anchor no longer exists in the
published spec; the dictionary is ToolAnnotations (#dictdef-toolannotations).
The spec defines the event as toolcancel (ModelContext/ontoolcancel), not
toolcanceled, and since webmachinelearning#245 both events fire at ModelContext, not Window.
@domfarolino
domfarolino merged commit f14762e into webmachinelearning:main Oct 16, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Oct 16, 2026
SHA: f14762e
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