McpAppToolOptions
Metadata linking an MCP tool to an MCP App UI resource.
- Kind:
Class - Namespace: Repl.Mcp
- Assembly:
Repl.Mcp - Source: src/Repl.Mcp/McpAppToolOptions.cs
Signature
Section titled “Signature”public sealed record McpAppToolOptions : IEquatable<McpAppToolOptions>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<McpAppToolOptions>
Constructors
Section titled “Constructors”McpAppToolOptions(string)
Section titled “McpAppToolOptions(string)”Metadata linking an MCP tool to an MCP App UI resource.
public McpAppToolOptions(string ResourceUri)Parameters
Section titled “Parameters”ResourceUri(string): Theui://resource rendered for the tool.
Properties
Section titled “Properties”ResourceUri
Section titled “ResourceUri”The ui:// resource rendered for the tool.
public string ResourceUri { get; init; }Returns
Section titled “Returns”Visibility
Section titled “Visibility”Controls whether the linked tool is visible to the model, the app iframe, or both.
public McpAppVisibility Visibility { get; init; }