count_sections
Count document sections that match filters like path glob, role, tags, heading level, and byte length. Use for UI counters or checking for matching content without ranking.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| doc_path | No | ||
| path_glob | No | ||
| role | No | ||
| roles | No | ||
| exclude_roles | No | ||
| tags | No | ||
| exclude_tags | No | ||
| min_level | No | ||
| max_level | No | ||
| min_byte_length | No | ||
| max_byte_length | No |