Skip to content

WebMCP: tentative input validation tests for #92 - #62426

Open
arnabwithab wants to merge 1 commit into
web-platform-tests:masterfrom
arnabwithab:webmcp-input-validation-92
Open

WebMCP: tentative input validation tests for #92#62426
arnabwithab wants to merge 1 commit into
web-platform-tests:masterfrom
arnabwithab:webmcp-input-validation-92

Conversation

@arnabwithab

Copy link
Copy Markdown

Adds

  1. DataError validation for executeTool (missing-required/enum/pattern/valid/retry)
  2. TypeError meta-validation for registerTool (invalid subset $ref/format/additionalProperties etc.)

Written per webmachinelearning/webmcp#289 and CG resolution 2026-03-05#f5bd (Draft 2020-12 subset). Two tentative files under webmcp/imperative/.

LLM assistance
  1. Initial drafts generated via Muse Spark 1.2 + opencode + ponytail reviews.
  2. Reviewing and editing for WPT conventions.

Spec PR webmachinelearning/webmcp#289, CG resolution 2026-03-05#f5bd,
subset Draft 2020-12. Tests DataError{path,reason,schemaPath} and
meta-validation TypeError. Tentative pending spec merge.

Signed-off-by: Eros483 <arnabmandal2912@gmail.com>
@arnabwithab

Copy link
Copy Markdown
Author

hi team, the PR is ready for review!

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.

1 participant