Puppeteer 中文文档v25.8.0

WebMCPToolCall 类

签名

export declare class WebMCPToolCall

备注

此类的构造函数被标记为内部使用。第三方代码不应直接调用构造函数,也不应创建继承 WebMCPToolCall 类的子类。

属性

属性

修饰符

类型

说明

id

string

工具调用标识符。

input

object

该次调用所使用的输入参数。

tool

WebMCPTool

被调用的工具。