kb_rules_list_for_context
Lists the rule documents that apply to a given authoring context — the conventions your authoring should follow. Returns a list of MCP resource URIs in canonical order: tenant rules first, then project rules, then group rules (one per group, in the order you supplied). Each entry carries the rule doc body inline by default (body_md) so one call gives you everything you need — no separate resources/read fetch required. Pass include_bodies=false to get URIs only. Empty list means no rules apply at this scope. Rules are advisory, not machine-enforced; agents are expected to read and apply them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_slugs | No | Optional — groups the authored doc would be tagged with. Adds one URI per group that has rules linked, in the order supplied. | |
| tenant_slug | No | Tenant slug to target. Required when your token grants several workspaces; omit when it grants one. If you omit it with several, the refusal names your default workspace; call kb_tenants_list to see every workspace the token grants. | |
| project_slug | No | Optional — project the authoring is scoped to. Adds the project rules URI when the project has one linked. | |
| include_bodies | No | When true (default), each entry carries the rule doc markdown body inline under body_md. Pass false for a URI-only response when you already have the bodies cached. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| context | Yes | ||
| recommended_skills | Yes |