carrel_pack
Pack a file or directory into LLM-ready context with a file tree plus extracted text from supported documents, so you can feed structured source material to models.
Instructions
Pack a file or directory into LLM-ready context: file tree plus extracted text of supported files (text, pdf, office, ebook).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Max query hits to pack. | |
| path | Yes | File or directory to pack. | |
| root | No | Desk root (default: server --root / cwd). | |
| query | No | Relevance-rank files by this desk-index query. | |
| format | No | json: structured object; md/xml: rendered pack document. | json |
| exclude | No | Drop files/dirs matching these globs. | |
| include | No | Only pack files matching these globs. | |
| max_bytes | No | Content budget in bytes; files past it are listed but omitted. | |
| tree_only | No | Tree without contents. |