agent_types
Create, update, list, or delete agent categories to group and filter agents for reporting; deleting a category leaves its agents uncategorised.
Instructions
User-defined agent categories ("Support", "Sales", "Internal
tools"): groups for the Agents list, its filter and reporting. A
category is data, not an agent kind — it never changes how an agent
runs, is not part of a promote snapshot, and a fresh install has none.
action: list (every category in order, each with agent_count) |
create (display_name; optional slug, description, color, sort_order) |
update (agent_type + any of display_name, description, color,
sort_order) | delete (agent_type, confirm=true — the agents in it are
NOT deleted, they become uncategorised; without confirm it reports how
many agents that is). Put an agent in a category with
update_profile(agent_type=...) or templates(action="use",
agent_type=...); filter with list_profiles(agent_type=...). Mirrors the
portal's Agents › Categories screen.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agent_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| slug | No | create only: the category's stable identifier (lowercase letters, digits, hyphens). Blank = made from the name. It cannot be changed later. | |
| color | No | Chip colour, one of: slate, teal, blue, violet, pink, red, amber, green (default slate). | |
| action | No | list | create | update | delete. | list |
| confirm | No | false (default) = dry run: report what WOULD change and change nothing. true = execute. | |
| agent_type | No | The category to update or delete: its slug (or its agent_type_id). | |
| sort_order | No | Position in pickers and lists, ascending. create: default is last. update: set it to move the category. | |
| description | No | What kind of agents belong in the category (optional, at most 280 characters). | |
| display_name | No | create: the category's name (required). update: rename it; the slug stays the same. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |