HtmlWidgetCallToolResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The wire-format response body for an htmlwidget/calltool invoke.
Teams expects this shape (with responseType discriminator) rather than
a bare McpUiCallToolResult.
public class HtmlWidgetCallToolResponse
type HtmlWidgetCallToolResponse = class
Public Class HtmlWidgetCallToolResponse
- Inheritance
-
HtmlWidgetCallToolResponse
Constructors
| Name | Description |
|---|---|
| HtmlWidgetCallToolResponse() | |
Properties
| Name | Description |
|---|---|
| CallToolResult |
The tool call result payload. |
| ResponseType |
Discriminator that tells Teams how to interpret the response. |
Methods
| Name | Description |
|---|---|
| FromError(String) |
Creates an error response with a message. |
| FromText(String) |
Creates a successful response with text content. |