File Converter Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Convert files between formats: PDF, DOCX, HTML, Markdown, CSV, and more.

Bi-directional file format conversion supporting PDF, DOCX, HTML, Markdown, CSV, JSON, XLSX, and plain text. Preserves formatting where possible.

langchaincrewaigeneric

Quick Start

bash
agentnode install file-converter-pack

Usage

From package
python
from file_converter_pack.tool import run

result = run(
    action="convert_file",
    input_path="/data/docs/api_reference.md",
    output_format="pdf",
    options={
        "page_size": "A4",
        "margin": "1in",
        "syntax_highlighting": True,
        "table_of_contents": True
    }
)

print(f"Converted: {result['output_path']}")
print(f"Pages: {result['page_count']}")
print(f"Size: {result['file_size_kb']:.1f} KB")

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 1.8s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.8s
import179ms
smoke144ms
tests938ms

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Convert Markdown documentation to styled PDF for distribution
  • Transform CSV exports to formatted XLSX with headers
  • Convert DOCX contracts to HTML for web display
  • Batch convert a folder of HTML pages to clean Markdown
  • Transform JSON API responses into CSV for spreadsheet analysis

README

File Converter Pack

Convert files between formats: PDF, DOCX, HTML, Markdown, CSV, and more. A universal file format converter for documents and data files.

Quick Start

agentnode install file-converter-pack
from file_converter_pack.tool import run

result = run(
    action="convert_file",
    input_path="/data/report.md",
    output_format="pdf"
)
print(result["output_path"])

Usage

Markdown to PDF with Styling

result = run(
    action="convert_file",
    input_path="/data/readme.md",
    output_format="pdf",
    options={"syntax_highlighting": True, "table_of_contents": True}
)

HTML to Markdown

result = run(
    action="convert_file",
    input_path="/data/page.html",
    output_format="markdown",
    options={"preserve_links": True, "strip_scripts": True}
)

JSON to CSV

result = run(
    action="convert_file",
    input_path="/data/api_response.json",
    output_format="csv",
    options={"flatten_nested": True, "delimiter": ","}
)

API Reference

CapabilityDescription
convert_fileConvert between document and data formats

Supported conversions:

  • Documents: md <-> pdf, md <-> html, md <-> docx, html <-> pdf, docx <-> pdf
  • Data: csv <-> xlsx, csv <-> json, json <-> yaml

License

MIT

Version History

Capabilities

file_conversionconvert_filetool

Permissions

This package declares the following access levels. Review before installing.

Networknone
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever
bash
agentnode install file-converter-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointfile_converter_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode