distill_files
Convert up to 20 PDF, Word, Excel, or PowerPoint files into token-lean Markdown for LLM use, paging oversized content and skipping files beyond the output cap while isolating per-file failures.
Instructions
Convert up to 20 documents to token-lean Markdown; a failing file does not fail the call. Output is capped: a file that does not fit is returned in part and later files are skipped
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": {
"paths": "<paths>"
},
"name": "distill_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Absolute path, or relative to the server's working directory, one per file | |
| lingua | No | Compress further with LLMLingua-2 when installed | |
| boosters | No | Boosters to apply: dedupe, media, tables, ws |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| total | Yes | ||
| results | Yes | ||
| continuation | No |