Language

McpUiCallToolResult Class

Definition

The result of a widget's tools/call request, returned by the bot in response to an htmlwidget/calltool invoke activity.

public class McpUiCallToolResult
type McpUiCallToolResult = class
Public Class McpUiCallToolResult
Inheritance
McpUiCallToolResult

Constructors

Name Description
McpUiCallToolResult()

Properties

Name Description
Content

An array of content items to return to the widget.

IsError

Whether the tool call resulted in an error.

StructuredContent

Structured data that the widget can render from.

Applies to