Table of Contents

Class ImageToPdfTool

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

A built-in tool for converting image files into a single PDF document.

Enables agents to combine one or more images (JPEG, PNG, BMP) into a PDF, with each image on its own page sized to match the image dimensions.

public sealed class ImageToPdfTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
ImageToPdfTool
Implements
Inherited Members

Examples

var tool = new ImageToPdfTool();
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