templates
Browse, inspect, and fork read-only agent architecture molds into new named draft agents, with optional parent sub-agent wiring, model selection, and category assignment.
Instructions
Protected catalog of forkable agent templates ("architecture molds"). action: list (browse the molds) | get (template_id → full config) | use (template_id + display_name → fork the mold into a NEW named draft agent; composite molds fork their sub-agent templates too; optional as_subagent_of=<profile_id> wires the new agent into that parent's sub-agents; optional model_id sets the new agent's model instead of the template's; slug, left blank where generic agents are on, is made from the name — "Support desk" -> support-desk; optional agent_type= files the new agent under that category, and an unknown category refuses the call before anything is created). Templates are read-only — there is no create/edit/delete.
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": "templates"
}
}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 | Slug for the new agent (default: derived). | |
| action | No | Operation to run: list | get | use. The tool description lists what each action needs. | list |
| model_id | No | agent_models UUID (models action=list). | |
| agent_type | No | use: put the new agent (and the sub-agents made with it) in this category — a category slug from agent_types(action='list'). '' = uncategorised. | |
| template_id | No | Template (mold) profile UUID (templates action=list). | |
| display_name | No | Name of the new agent forked from the mold. | |
| as_subagent_of | No | Wire the new agent in as a sub-agent of this profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |