alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DocumentEditorWebMcpTool

    Describes one WebMCP tool: a customization of a built-in command or a host-defined custom tool.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    DocumentEditorWebMcpTool
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicenseByUICategory()
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class DocumentEditorWebMcpTool : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    DocumentEditorWebMcpTool()

    Declaration
    public DocumentEditorWebMcpTool()

    Properties

    Command

    Gets or sets the built-in command this entry targets, or Custom for a host-defined tool.

    Declaration
    [Parameter]
    public DocumentEditorWebMcpToolCommand Command { get; set; }
    Property Value
    Type
    DocumentEditorWebMcpToolCommand

    Description

    Gets or sets the agent-facing description. When empty, the built-in description is used.

    Declaration
    [Parameter]
    public string? Description { get; set; }
    Property Value
    Type
    string

    Enabled

    Gets or sets a value indicating whether the tool is registered.

    Declaration
    [Parameter]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool

    true to register the tool; false to omit it. The default is true.

    InputSchema

    Gets or sets the JSON Schema, as a JSON string, describing the tool's input. Required for Custom and not allowed for built-in commands.

    Declaration
    [Parameter]
    public string? InputSchema { get; set; }
    Property Value
    Type
    string

    Name

    Gets or sets the agent-facing tool name. Required for Custom; for built-in commands it renames the tool, and when empty the built-in name is used.

    Declaration
    [Parameter]
    public string? Name { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSet()

    Declaration
    protected override void OnParametersSet()
    Overrides
    ComponentBase.OnParametersSet()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved