Skip to content

API Reference parrot_tools.doc_converter

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.doc_converter

View source

DocumentConverterTool - Convert documents to JSON/Markdown via Docling.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Alias AbstractToolArgsSchema

Re-exported from parrot_tools.abstract.AbstractToolArgsSchema.

Class DocumentConverterTool

Convert documents (PDF, DOCX, PPTX) to structured JSON or Markdown using Docling.

Parameter Type Default Description
url_only bool False PA-14 host switch (forced through the PA-9 hook): source must be an http(s) URL and is downloaded by the tool itself (through the egress guard); a local path is refused and never read.
**kwargs Any {}

Class DocumentConverterToolArgs

Arguments for DocumentConverterTool.

Attributes:

Attribute Type Description
source str
output_format Literal['json', 'markdown']
max_num_pages Optional[int]
do_ocr bool
use_tesseract bool
do_table_structure bool

Alias ToolResult

Re-exported from parrot_tools.abstract.ToolResult.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally