Class PdfPagesTool
A built-in tool for inspecting PDF page details and extracting page text.
Enables agents to retrieve page dimensions, text-only flags, and extract text content from specific pages of a PDF document.
public sealed class PdfPagesTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
PdfPagesTool
- Implements
- Inherited Members
Examples
var tool = new PdfPagesTool();
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.