document.modelContext.registerTool().WebMCP standard
WebMCP declarative API
Short reference and upstream links for the evolving HTML form integration.
The declarative API explores how HTML workflows, especially forms, can become
agent-readable tools while preserving browser validation and user review.
The attribute names, schema synthesis rules, constraint mapping, submission
behavior, and iframe model are still evolving. Use the
official explainer
and declarative draft
as the current authorities. Do not treat this example as a stable compatibility
contract.
For production JavaScript integrations, use
