Skip to content

McpAppToolOptions

Metadata linking an MCP tool to an MCP App UI resource.

public sealed record McpAppToolOptions : IEquatable<McpAppToolOptions>
  • IEquatable<McpAppToolOptions>

Metadata linking an MCP tool to an MCP App UI resource.

public McpAppToolOptions(string ResourceUri)
  • ResourceUri (string): The ui:// resource rendered for the tool.

The ui:// resource rendered for the tool.

public string ResourceUri { get; init; }

string

Controls whether the linked tool is visible to the model, the app iframe, or both.

public McpAppVisibility Visibility { get; init; }

McpAppVisibility