Class PdfSearchTool
A built-in tool for searching text inside PDF documents.
Enables agents to find query occurrences across all pages or a selected page range, returning page numbers and text snippets.
public sealed class PdfSearchTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
PdfSearchTool
- Implements
- Inherited Members
Examples
var tool = new PdfSearchTool();
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.