WebMcpToolResponse

Defines the result returned by a WebMCP tool execution, containing the response content array and an optional error flag.

Props

The following table outlines the props for the WebMcpToolResponse:

NameTypeDefaultDescription
content
Object[]
-

The content blocks of the response.

isError
boolean
-

Indicates whether the tool execution resulted in an error.