Skip to main content
Version: 24.41.0

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>