File Converter Pack
★Trustedv1.0.0MIT✔Verified88by 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.
Quick Start
agentnode install file-converter-packUsage
From packagefrom 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
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
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
| Capability | Description |
|---|---|
convert_file | Convert 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
Permissions
This package declares the following access levels. Review before installing.
agentnode install file-converter-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode