Agent-readable search form
The attribute names, schema synthesis rules, constraint mapping, submission
behavior, and iframe model are still evolving. Use Chrome’s
Declarative API docs
for current browser behavior. Track the Community Group
declarative draft section
and declarative explainer
for proposal status. Do not treat this example as a stable compatibility
contract.
@mcp-b/webmcp-polyfill
implements the tested local-document subset and documents its native-only gaps.
React users can write these attributes directly after importing
@mcp-b/react-webmcp.
For imperative JavaScript registration, use
document.modelContext.registerTool().