Condense a document
condense_documentShorten a .docx file to a target word count while preserving meaning, structure, and citations. Get the result saved next to the original and its path returned.
Instructions
Shorten a .docx to a target word count, keeping meaning, structure and citations. Saves the result next to the source and returns its path. COSTS CREDITS at 100 per 1,000 words processed (10 minimum) - say so and get agreement first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_words | Yes | Target word count for the whole document | |
| output_path | No | Where to write the result; defaults to beside the source | |
| instructions | No | Extra requirements for this job | |
| wait_seconds | No | How long to wait before returning a job id (default 55) | |
| document_path | Yes | Absolute path to the .docx |