get_all_roles
Get every distinct role classification from a repository with per-role section counts and sample IDs. Use to discover available roles before constructing role= or profile= queries.
Instructions
v1.50+ — list every distinct role classification across the repo with per-role section counts and id samples. Companion to v1.46 get_all_tags. Sections without metadata.role are bucketed under 'unknown'. Use to discover what roles exist before constructing a role= or profile= query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| sample_size | No | How many section_ids to surface per role. 0 omits samples. |