WebMCPToolCallResult 接口
签名
export interface WebMCPToolCallResult
属性
|
属性 |
修饰符 |
类型 |
说明 |
默认值 |
|---|---|---|---|---|
|
call |
|
对应的工具调用(如果可用)。 | ||
|
errorText |
|
string |
错误文本。 | |
|
exception |
|
Protocol.Runtime.RemoteObject |
异常对象(如果 javascript 工具抛出了错误)。 | |
|
id |
string |
工具调用标识符。 | ||
|
output |
|
any |
输出或错误,以传递给代理的形式交付。如果 | |
|
status |
Protocol.WebMCP.InvocationStatus |
调用的状态。 |