Skip to main content
Version: Next

WebMCP.tools() method

Gets all WebMCP tools defined by the page.

Signature

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

Returns:

WebMCPTool[]