Class
TreeListWebMcpSettings

Configures WebMCP tool registration for the parent TreeList. When present, TreeList operations are exposed as tools discoverable by AI models through the browser. Place inside TreeListSettings. Children: TreeListWebMcpTool.

Definition

Constructors

TreeListWebMcpSettings()

Declaration

cs-api-definition
public TreeListWebMcpSettings()

Properties

Name

A human-readable name that distinguishes this TreeList's WebMCP tools from other TreeLists on the same page. When set, tool names are prefixed and descriptions are annotated. For example, "Files" produces tool names like "files-treelist-filter".

Declaration

cs-api-definition
[Parameter]
public string Name { get; set; }

Property Value

string

TreeListWebMcpTools

Defines the WebMCP tool overrides for the TreeList. Children: TreeListWebMcpTool.

Declaration

cs-api-definition
[Parameter]
public RenderFragment TreeListWebMcpTools { get; set; }

Property Value

RenderFragment

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()