Barcode - WebMcpToolResponse

18 Nov 20261 minute to read

Defines the result returned by a WebMCP tool execution.

Properties

content Object[]

The response content blocks returned to the AI client.

isError boolean

Set to true when the tool failed, so the AI client surfaces the content as an error.