Skip to content
ASTra

Documentation

ASTra reads, edits and validates Word (.docx) files for AI agents and scripts. The three main parts are the MCP server, the command-line tool and the engine library. They share one engine, so they behave the same way.

Start here

All pages

QuickstartMake your first safe edit in a few minutes.
Core conceptsSessions, node IDs, the outline, batches and validation.
MCP toolsEvery tool your agent gets, with its parameters.
OperationsWhat execute_batch can change in a document.
Page layoutSections, orientation, headers and footers, columns, borders and lists.
Command lineEvery astra command, with usage and an example.
RecipesCopy-paste examples for common jobs.
ErrorsWhat each error code means and how to fix it.
Security and privacyWhat ASTra restricts, removes and sends.
FAQShort answers to common questions.