list_docs
List every indexed document in a repository with its path, section count, format, and size, without section titles or content. Filter by glob or page results with limit and offset.
Instructions
v1.55+ — flat per-doc inventory of an indexed repo: doc_path, section_count, format, byte_size for each indexed document. Lighter than get_toc_tree (which returns full section trees per doc). Sorted by doc_path. Inventory only; it returns no section titles and no content. Each doc also carries mtime when one is known — as of the last indexing pass, omitted when unknown rather than null — and _meta.docs_with_mtime says how many have one, so a partially filled or pre-1.144 index is distinguishable from a complete one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| limit | No | v1.147+ — return at most this many docs, starting at offset. Default: all, subject to the response ceiling (JDOCMUNCH_RESPONSE_MAX_BYTES, 1 MiB), over which the call is refused, never truncated. docs_total, docs_truncated and next_offset are always present. | |
| offset | No | v1.147+ — docs to skip. Pass the previous response's next_offset. Default 0. | |
| path_glob | No | v1.147+ — fnmatch glob restricting the list to matching doc_paths. Default: no filter. |