Class PdfMetadataTool
A built-in tool for retrieving PDF metadata and basic document information.
Enables agents to inspect PDF page count, file size, version, and metadata fields (title, author, subject, keywords, creation date).
public sealed class PdfMetadataTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
PdfMetadataTool
- Implements
- Inherited Members
Examples
var tool = new PdfMetadataTool();
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.