Skip to main content
Version: 24.41.0

WebMCP.tools() method

Gets all WebMCP tools defined by the page.

Signature

class WebMCP {
tools(): WebMCPTool[];
}

Returns:

WebMCPTool[]