webmcp_call
Runs a page-declared WebMCP tool in one call, replacing manual clicks and form fields. Returns status and result, and requires confirm:true before sensitive actions.
Instructions
Run a WebMCP tool the page declares (see webmcp_tools or the webmcp line of navigate): one call instead of the clicks and fields it replaces. Returns status (ok, error, timeout, not_found, inactive, needs_confirmation), the tool result and ms; navigated_to when the call led to another page. A sensitive tool (buy, pay, send, delete, a POST form) is not run without confirm:true: on needs_confirmation ask the user, then repeat with confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tool name as listed by webmcp_tools | |
| input | No | Arguments matching the tool input_schema | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| confirm | No | true only after the user approved this sensitive action | |
| timeout | No | Abort the tool after this many ms | |
| frame_id | No | Target iframe id from get_frames; omitted = main frame |