Skip to main content
A role is a named list of tool permissions: a required allow list and an optional deny list. A profile picks the roles it wants, and every agent on that profile gets exactly that access. Registering a toolset by itself grants nothing. The stacking rule fits in three lines:
An entry names one tool, a namespace, or a level: tool:managed:gmail@read is every Gmail tool that only reads. An allow entry can also narrow when it applies:
A condition only narrows its own entry: if another role allows the same tool outright, the call goes through. Denies take built-in tools back out and never touch a toolset namespace. Core tools like thread.send and wait sit outside roles, and thread.search is on until a deny removes it. A profile’s pack, like slack-assistant, adds a floor no deny removes. New workspaces start with Administrator (tool:*) and WebOnly (tool:builtin:web.*). Setting up Slack adds Slack access: every tool except admin-level ones. All three are ordinary, editable roles.
Belongs to a workspace (≤ 64) · Has many allow / deny entries (≤ 256 each) · Selected by profiles (≤ 8 per profile)

Rules

  • Allows union, conditions narrow one grant, a deny beats every allow. See Rules.
  • A role that a profile still selects can’t be deleted.
  • An agent writing a role can only grant what it already holds, and can’t remove a deny.

API

  • Selectors, levels, conditions, and limits: Permissions. Core tools: Built-in tools.
  • GET/POST /v1/roles, GET/PATCH/DELETE /v1/roles/{roleId}.
  • GET /v1/agents/{agentId}/effective-permissions: what an agent can call now.