Interface IGanttWebMcpTool
Contract for an AI-agent tool exposed by a Syncfusion Blazor component over the browser's WebMCP runtime.
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.Gantt.dll
Syntax
public interface IGanttWebMcpTool
Remarks
This interface is the discovery contract returned by
SfGantt.GetWebMcpToolsAsync. It exposes only the fields an
application typically inspects: Name,
Description, and InputSchema.
The response shape and the additional metadata (response schema and
agent hints) are part of the browser-registration descriptor that
the component forwards to
document.modelContext.registerTool(...). They are carried on
the concrete Syncfusion.Blazor.Gantt.WebMcpTool catalog type, which is
internal and not surfaced through this interface.
Properties
Description
Gets the natural-language description shown to the agent.
Declaration
string Description { get; }
Property Value
| Type |
|---|
| string |
InputSchema
Gets the JSON-Schema object describing accepted input, as a raw JSON string. The dispatcher forwards this verbatim to the browser; agents that support typed schemas parse it directly.
Declaration
string? InputSchema { get; }
Property Value
| Type |
|---|
| string |
Name
Gets the camelCase tool identifier.
Declaration
string Name { get; }
Property Value
| Type |
|---|
| string |