findagent_create_department
Create a department: a team of 2-16 EXISTING published agents with a topology. Pass name and members (each an agent slug, optionally with alias and role); pattern is pipeline (default, members run in order), hub-orchestrator (also pass hub, the alias of the hub member) or p2p (optionally entry). report_instructions is the standing instruction prepended to every member's prompt on every run; it is scanned for secrets and prompt-injection phrasing before anything is saved. The department is created as a personal DRAFT you own — a department is never published or reviewed, it simply works once its members are available. Workflow and orchestrator modes, flow hints, explicit edges and organization departments are set in the department builder on the web and are refused here, not ignored. Each member must be a published public agent; an agent that needs an OAuth sign-in cannot be a member yet. Returns the slug and the connect address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub | No | The alias of the hub member. Required for hub-orchestrator. | |
| name | Yes | Department name (3-80 chars). | |
| entry | No | The alias of the first member for p2p. Default: the first member. | |
| members | Yes | 2-16 members. The order matters for a pipeline. | |
| pattern | No | How the members hand work on. Default pipeline. | |
| description | No | Optional description (10-2000 chars). | |
| report_instructions | No | Optional standing instructions prepended to every member's prompt on every run, e.g. how to report. Scanned for secrets and injection phrasing; do not paste keys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| status | No | ||
| next_tool | No | ||
| connect_url | No | ||
| instructions | No |