findagent_edit_department
Edit the settings of YOUR OWN department — its reporting instructions, name, and description. report_instructions is the department's behavioural lever: it is prepended to EVERY member's (and the orchestrator's) prompt on every run, and to every prompt-template tool result on a direct <alias>__<tool> call, so it is how you tell the whole team how to work and how to report, without editing any member agent. Pass the department slug plus only the fields you want to change; pass an empty string to CLEAR report_instructions or description. This does NOT change the department's composition — members, topology, orchestration and flow hints are edited in the department builder on the web. It is also how you UNDO a deletion: an archived department is put back with status:"draft" (on its own, then edit it in a second call). Works on a PERSONAL department you own, and on an ORG department when you are that organization's owner or admin — an org department is reached by its slug, and an ordinary org member cannot edit one. Call findagent_list_my_agents to see the personal departments you own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New department name (3–80 chars). | |
| status | No | Pass "draft" to RESTORE a department you archived (deleted): it becomes a draft again and serves its connector, runs and schedules exactly as before, with its members and report_instructions untouched. Send it ALONE — restore first, then edit in a second call. "draft" is the only value: a department is never published. | |
| department | Yes | The slug of a department you own (from findagent_list_my_agents). | |
| description | No | New description (10–2000 chars). Pass an empty string to remove it. | |
| report_instructions | No | Standing instructions prepended to every member's and the orchestrator's prompt on every run, and to every prompt-template tool result on a direct <alias>__<tool> call — e.g. how to report, what to prioritise, what house style to use. Pass an empty string to remove it. Checked on save against a prompt-injection deny-list and scanned for leaked secrets; the save is rejected on a hit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| status | No | ||
| restored | No | ||
| instructions | No | ||
| report_instructions_set | No |