WebMCP.tools() 方法
🌐 WebMCP.tools() method
获取页面定义的所有 WebMCP 工具。
🌐 Gets all WebMCP tools defined by the page.
语法
🌐 Signature
class WebMCP {
tools(): WebMCPTool[];
}
返回:
🌐 WebMCP.tools() method
获取页面定义的所有 WebMCP 工具。
🌐 Gets all WebMCP tools defined by the page.
🌐 Signature
class WebMCP {
tools(): WebMCPTool[];
}
返回: