Table of Contents

Class DocumentTextInfoTool

Namespace
LMKit.Agents.Tools.BuiltIn.Document
Assembly
LM-Kit.NET.dll

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.

Share