Class MarkdownConvertTool
A built-in tool for converting Markdown to HTML or stripping Markdown formatting to plain text.
public sealed class MarkdownConvertTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
MarkdownConvertTool
- Implements
- Inherited Members
Examples
var tool = new MarkdownConvertTool();
registry.Register(tool);
// Agent can now: convert Markdown to HTML, strip Markdown to plain text
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.