Class KanbanWebMcpTool
Configures a single Kanban WebMCP tool entry.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Kanban
Assembly: Syncfusion.Blazor.Kanban.dll
Syntax
public class KanbanWebMcpTool : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
One entry supports four behaviours: disable a built-in tool, override a built-in tool's metadata, replace a built-in tool's handler, or register a fully custom tool.
Constructors
KanbanWebMcpTool()
Declaration
public KanbanWebMcpTool()
Properties
Command
Gets or sets the built-in operation this entry maps to, or Custom for a developer-authored tool.
Declaration
[Parameter]
public KanbanWebMcpToolCommand Command { get; set; }
Property Value
| Type |
|---|
| KanbanWebMcpToolCommand |
Description
Gets or sets the natural-language description shown to the AI agent.
Declaration
[Parameter]
public string? Description { get; set; }
Property Value
| Type |
|---|
| string |
Enabled
Gets or sets a value indicating whether this tool is registered with the browser's WebMCP runtime.
Declaration
[Parameter]
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Defaults to |
InputSchema
Gets or sets the JSON Schema for this tool's input.
Declaration
[Parameter]
public object? InputSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| object | Required when Command is Custom. Ignored for built-in commands, whose schema comes from the catalog. |
Name
Gets or sets the tool identifier registered with the browser.
Declaration
[Parameter]
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Required when Command is Custom. Optional for built-ins, where it overrides the catalog name. |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
OnInitializedAsync()
Validates the configuration and registers this entry with the settings container.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Compares the current parameter values against the initial values captured at initialization and reports a change to the Kanban component when anything differs.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |