Class TreeGridWebMcpTools
Defines built-in tools available to browser AI agents.
Inherited Members
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.TreeGrid.dll
Syntax
public sealed class TreeGridWebMcpTools : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
TreeGridWebMcpTools()
Declaration
public TreeGridWebMcpTools()
Properties
ChildContent
Gets or sets the nested built-in tool configuration.
Declaration
[Parameter]
[JsonIgnore]
public RenderFragment? ChildContent { get; set; }
Property Value
| Type |
|---|
| RenderFragment |
Tools
Gets or sets the built-in tools to expose. When specified, unlisted built-in tools are omitted; custom tools are unaffected.
Declaration
[Parameter]
public IEnumerable<TreeGridWebMcpToolCommand>? Tools { get; set; }
Property Value
| Type |
|---|
| IEnumerable<TreeGridWebMcpToolCommand> |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
OnInitializedAsync()
Initializes built-in tool settings and applies them to the parent settings component.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Updates the parent settings component when tool parameters change.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |