WebMCPTool.execute() method
Executes tool with input parameters, matching tool's inputSchema.
Signature
class WebMCPTool {
execute(
input?: object,
options?: WebMCPToolExecuteOptions,
): Promise<WebMCPToolCallResult>;
}
Parameters
Parameter | Type | Description |
|---|---|---|
input | object | (Optional) |
options | (Optional) |
Returns:
Promise<WebMCPToolCallResult>