Class DocumentTextInfoTool
A built-in tool for retrieving document text information.
Enables agents to inspect document metadata such as page count, MIME type, text availability, and file size without extracting the full content.
public sealed class DocumentTextInfoTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
DocumentTextInfoTool
- Implements
- Inherited Members
Examples
var tool = new DocumentTextInfoTool();
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.