Condense a document
condense_documentShorten a .docx to a target word count while preserving meaning, structure, and citations; confirm the credit cost first, then save the result beside the source and return its path.
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 20 per 1,000 words processed (10 minimum) - say so and get agreement first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_path": "<document_path>",
"max_words": "<max_words>"
},
"name": "condense_document"
}
}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 |