alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Interface IChartWebMcpTool

    Host-facing metadata for a single WebMCP tool registered with the browser.

    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.Charts.dll
    Syntax
    public interface IChartWebMcpTool
    Remarks

    This interface is intentionally public in Syncfusion.Blazor.Charts. Host applications implement it (typically via ChartWebMcpTool) to declare custom tools. Catalog-only members that hosts must not supply (OutputSchema, Annotations) live on the internal IWebMcpCatalogTool and are not part of this contract.

    Implementations are JSON-serialized and pushed to the browser via document.modelContext.registerTool at component registration time. Property names are camel-cased to match the W3C model-context descriptor.

    Properties

    Description

    Gets the natural-language description shown to the AI agent.

    Declaration
    string Description { get; }
    Property Value
    Type
    string

    InputSchema

    Gets the JSON Schema for the tool's input arguments. Custom tools supply a JSON-encoded string. Built-in catalog tools may supply a schema object. The value is not a CLR input model.

    Declaration
    object? InputSchema { get; }
    Property Value
    Type
    object

    Name

    Gets the unique camelCase tool name registered with the browser.

    Declaration
    string Name { get; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved