get_all_roles
Retrieve every role classification used in a repository, showing per-role section counts and sample IDs. Use it to identify valid roles for role= or profile= queries, with missing metadata bucketed as unknown.
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. |