kernel_office_create
Create or refresh an office in one declarative call with agents, optional chains, cron, and a home repo; idempotent updates appear immediately in the 3D agents-flow view.
Instructions
Create or refresh a whole office (department) in one declarative call: flow + agents + optional chains, cron and home repo. Agents get smart defaults — with repo set they become claude_code executors with native FS tools jailed to that cwd. Idempotent (flow matches by name, agents by slug). The office appears in the 3D agents-flow view immediately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"agents": "<agents>"
},
"name": "kernel_office_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | No | ||
| name | Yes | Office name, e.g. 'Marketing'. Idempotency key. | |
| repo | No | Host repo path ('~' expands). Implies claude_code agents with cwd there. | |
| color | No | Hex color of the 3D room, e.g. '#16a34a'. Default: palette pick. | |
| agents | Yes | ||
| discipline | No | Shared preamble prepended to every agent prompt. false = none. Default: generic office discipline. | |
| previewUrl | No | URL shown as a clickable preview link in the dashboard. | |
| description | No |