Skip to main content

Word Document Pack

TrustedSandbox optionalv1.0.0MITVerified80

by AgentNode · published 5 months ago · toolpack

Create, edit, and analyze Microsoft Word documents.

Generate DOCX files with headings, tables, images, styles, and formatting. Extract text and metadata from existing documents. Uses python-docx.

langchaincrewaigeneric

Quick Start

bash
agentnode install word-document-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from word_document_pack.tool import run

result = run(
    action="create",
    filename="quarterly_report_q1_2026.docx",
    content=[
        {"type": "heading", "level": 1, "text": "Q1 2026 Performance Report"},
        {"type": "paragraph", "text": "This report summarizes key metrics and achievements for the first quarter of 2026."},
        {"type": "heading", "level": 2, "text": "Revenue Summary"},
        {"type": "table", "headers": ["Month", "Revenue", "Growth"], "rows": [
            ["January", "$142,000", "+12%"],
            ["February", "$158,000", "+11%"],
            ["March", "$175,000", "+10.8%"]
        ]},
        {"type": "heading", "level": 2, "text": "Key Highlights"},
        {"type": "list", "items": [
            "Launched 3 new product features",
            "Customer base grew by 2,400 accounts",
            "Support ticket resolution time improved by 35%"
        ]},
        {"type": "paragraph", "text": "Full details are available in the attached appendix.", "bold": True}
    ]
)

print(f"Document created: {result['filename']}")
print(f"File size: {result['size_bytes'] / 1024:.0f} KB")
print(f"Pages (estimated): {result['page_estimate']}")

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence80/100✔ Verified
smokeReturned valid result
+25/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.8s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.8s
import338ms
smoke285ms
tests1.2s

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

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 28d ago· Runner v2.0.0

Use this when you need to...

  • Generate formatted invoices and contracts as Word documents
  • Extract text and tables from uploaded .docx files for processing
  • Create mail-merge documents from template and CSV data
  • Convert meeting notes into structured Word reports with headings
  • Analyze Word documents for word count, structure, and formatting

README

Version History

Capabilities

word_documentprocess_docxtool

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networknone
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install word-document-pack

Files (3)

License

MIT

Stats

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

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode