Class
FixedDocumentContentAgentTools

Provides agent tools for creating and manipulating PDF document content. These tools handle content segments including text, images, tables, and document structure.

Definition

Namespace:Telerik.Documents.AI.AgentTools.Fixed

Assembly:Telerik.Documents.AI.AgentTools.Fixed.dll

Syntax:

cs-api-definition
public class FixedDocumentContentAgentTools : FixedDocumentAgentToolsBase

Inheritance: objectAgentToolBaseFixedDocumentAgentToolsBaseFixedDocumentContentAgentTools

Inherited Members FixedDocumentAgentToolsBase.RepositoryAgentToolBase.GetTools()

Constructors

FixedDocumentContentAgentTools(IFixedDocumentRepository, string)

Initializes a new instance with the specified repository.

Declaration

cs-api-definition
public FixedDocumentContentAgentTools(IFixedDocumentRepository repository, string imageDirectory)

Parameters

repository

IFixedDocumentRepository

The fixed document repository for document access.

imageDirectory

string

The directory path where images are stored for image segments.

Methods

AddContentSegmentsToPdf(string, ContentSegment[])

Declaration

cs-api-definition
[Tool]
public CallToolResult AddContentSegmentsToPdf(string documentId, ContentSegment[] contentSegments)

Parameters

documentId

string

contentSegments

ContentSegment[]

Returns

CallToolResult