WordCraft for your agent

Use WordCraft from your own agent. Inspect a Word document, read body paragraphs, append a paragraph, or export as PDF. Supported input: DOCX.

Use WordCraft in your agent’s chat

  1. Connect once. Follow the MCP setup instructions to add all 13 toolsets to your agent.
  2. Provide the file. Give your agent a path it can read, or attach the file if your client supports uploads. The agent needs file access and HTTP transfer tools.
  3. Describe the task. In your agent’s chat, say which file to use, what to do and what result you want. Your agent calls the connected tool and returns the information or output file.

What to ask your agent

After connecting, replace the example filename with your own file and send this in your agent’s chat:

Add “Next review: Friday.” as the last paragraph of agenda.docx and return the edited DOCX.

No special command or required brand phrase. If your agent chooses another method, ask it to use the connected EasyRunCraft tools. Review the result before continuing.

Supported operations

Use editor_capabilities with editor: "word" to check supported operations. Pass the selected operation to process_word.

inspect
Read document metadata, page and word counts, and Track Changes status.
read_paragraphs
Read up to 40 body blocks starting at a zero-based block index. Text is capped at 2,000 characters per block. Tables and embedded objects are not extracted as editable paragraphs.
append_paragraph
Add one plain-text paragraph of up to 2,000 characters at the end of the document and return a new DOCX.
export_pdf
Render an uploaded DOCX of up to 100 pages as a PDF.

Files, limits and results

Your assistant uses create_upload and sends the bytes to the upload URL with HTTP PUT. It then calls process_word with the uploaded file ID and a new request_id. Reuse the request ID only to retry the same request.

Each input and output file can be up to 20 MB for accounts without a subscription and Starter, or 100 MB on Creator and Studio. See plan file limits. Each account can have two active jobs and each native command has a 45-second limit. Appending requires a final body paragraph and Track Changes turned off. Complex Word features and fonts can look different after saving or exporting; review the result.

Poll get_job at most once per second. Inspection data is in result; downloadable outputs are in file. Edits create a private copy. Open the WordCraft editor.

Files and jobs expire after 24 hours. Upload and download links expire after 10 minutes. Anyone holding a valid link can use it until it expires.

Tool-call example for agents and developers

Your agent handles the tool calls. For a direct integration, the arguments to process_word look like this:

{
  "file_id": "<uploaded file ID>",
  "request_id": "<new request ID>",
  "operation": {
    "type": "append_paragraph",
    "text": "Next review: Friday."
  }
}

Unsupported requests and feedback

Unsupported operation IDs return UNSUPPORTED_OPERATION. A supported operation can still fail on a particular file. Check the job's error before retrying.

Tell us what you wanted to do and what the assistant reported. You can include the task ID. Keep private files, signed links and access tokens out of the message.

Email WordCraft feedback