count_sections
Count documentation sections that match specified filters (path, role, tags, level, size) and return only the number, not content. Use for UI counters or to check whether any sections match.
Instructions
v1.59+ — count sections matching the same filter set as search_sections (path_glob, role/roles/exclude_roles, tags/exclude_tags, min/max_level, min/max_byte_length) but skip ranking. Use for UI counters or 'does anything match?' probes. Returns the count only, never the matching sections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| role | No | ||
| tags | No | ||
| roles | No | ||
| doc_path | No | ||
| max_level | No | ||
| min_level | No | ||
| path_glob | No | ||
| exclude_tags | No | ||
| exclude_roles | No | ||
| max_byte_length | No | ||
| min_byte_length | No |