call_webmcp_tool
Executes a registered WebMCP tool on a target browser tab, prompting the user to approve interactive actions and returning results or a saved output file for large responses.
Instructions
Execute a registered WebMCP tool directly on the target browser tab. If the tool is interactive (trust level), the user will be natively prompted by CustomAIse to approve the execution before it returns. Approval can take minutes when the user is away from the browser (remote approvals on a phone). This server sends progress notifications while it waits, so a client that resets its timeout on progress will wait with it. A client that caps tool calls at a fixed 60 seconds regardless will report this call as failed while the user can still approve it and the tool can still run; if that happens, do not blindly re-issue a call with side effects. Check the outcome first with a read-only tool or the page itself. A result over 64 KB WRITES A FILE by default: the whole result goes to .customaise/tool-results/ in your workspace, which keeps the newest 20, and this call returns the path with the result's small values. If you have no filesystem tool, pass output: "inline" to get it in the response with long lists shortened instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"toolName": "<toolName>"
},
"name": "call_webmcp_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID to execute on. Defaults to active tab. | |
| output | No | Where a result over the inline budget (64 KB by default) goes; a smaller result always comes back in this response as the tool returned it. "file" (default) writes it whole to .customaise/tool-results/ in your workspace and returns its path, its small values and the size of the rest. "inline" writes nothing and returns it in this response, with long lists shortened to fit. Use it when you have no filesystem tool to read the file with, such as a chat client. "auto" follows the CUSTOMAISE_MCP_OUTPUT environment variable, falling back to "file". | |
| toolArgs | No | JSON object of arguments for the tool | |
| toolName | Yes | The EXACT name of the WebMCP tool to invoke |