webmcp_invoke_tool
Invoke a WebMCP tool registered by the current page, passing parameters to trigger its defined actions and receive the tool's output.
Instructions
Invokes a WebMCP tool registered by the current web page. Side effects: depends on the tool invoked; may modify page state, trigger network requests, or perform other actions defined by the page. Prerequisites: WebMCP feature must be enabled, target frame must exist, and the tool must be registered. Returns: The output of the tool invocation. Use this to interact with page-provided tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | JSON object string with the input parameters for the page tool (must match its inputSchema). Use "{}" when the tool takes no parameters. Defaults to: "{}". | |
| frameId | Yes | Target frame ID where the tool is registered. Constraints: must match a valid frame ID returned by webmcp_list_tools. | |
| toolName | Yes | Name of the WebMCP tool to invoke. Constraints: must match a registered tool name. | |
| instance_id | No | Chrome instance id from open_instance/list_instances. Omit for the default instance. |