Class DocumentTextExtractTool
A built-in tool for extracting text content from documents.
Enables agents to extract text from PDF, DOCX, XLSX, PPTX, EML, MBOX, and HTML files with optional page range selection.
public sealed class DocumentTextExtractTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
DocumentTextExtractTool
- Implements
- Inherited Members
Examples
var tool = new DocumentTextExtractTool();
registry.Register(tool);
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.