Skip to main content
Version: Next

WebMCPTool.execute() method

Executes tool with input parameters, matching tool's inputSchema.

Signature

class WebMCPTool {
execute(input?: object): Promise<WebMCPToolCallResult>;
}

Parameters

Parameter

Type

Description

input

object

(Optional)

Returns:

Promise<WebMCPToolCallResult>