add_playbooks
Add standard operating procedures (SOPs) as playbooks to a multi-agent AI agent. Define intents, prompts, and scoped tools for routing, with changes staged on a branch draft.
Instructions
Add one or more playbooks (SOPs) to a multi_agents agent. Each playbook = an intent (name + description the classifier routes on) + a specialist prompt + optional scoped tools and an auth level. Edits land on the branch's draft — use publish_draft to go live. The first enabled playbook becomes the router fallback automatically if none is set. Names and intent names must be unique on the agent (case-insensitive, archived included).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The multi_agents agent ID | |
| branch_id | No | Branch whose draft to edit (from list_branches). Omit to use the live branch; if the agent has multiple branches you'll be asked to pick one. Edits stack on the branch's single draft — publish_draft to go live. | |
| playbooks | Yes | The SOPs to add (batch them — one draft write) |