Skip to main content
Version: Next

WebMCPToolCallResult interface

Signature

export interface WebMCPToolCallResult

Properties

Property

Modifiers

Type

Description

Default

call

optional

WebMCPToolCall

The corresponding tool call if available.

errorText

optional

string

Error text.

exception

optional

Protocol.Runtime.RemoteObject

The exception object, if the javascript tool threw an error.

id

string

Tool invocation identifier.

output

optional

any

Output or error delivered as delivered to the agent. Missing if status is anything other than Success.

status

WebMCPInvocationStatus

Status of the invocation.