update_playbook
Edit a content playbook. Any playbook is fully editable (no lock-in) — imported or authored alike. Pass only the fields to change: name and/or description patch in place. If items is provided it FULLY REPLACES the playbook's items and their order; omit items to leave them untouched. Changing visibility ("private" | "team") is CREATOR-ONLY — non-creators get InputError.
When to use: when the user wants to rename, re-describe, or restructure a saved playbook — reorder, add, remove, or rewrite its items (e.g. "add a follow-up email to my launch playbook", "reorder these steps").
**Links:** present `link_url` to the user exactly as returned — copy it character for character. Never retype, shorten, or rebuild a link or the IDs inside it.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": {
"playbook_id": "<playbook_id>"
},
"name": "update_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Omit to keep the current name (it cannot be cleared — playbooks always have a name). | |
| items | No | Full replacement set of ordered items. Omit to keep existing items. | |
| visibility | No | Change the playbook's visibility. Creator-only — non-creators get InputError. | |
| anchor_date | No | Optional YYYY-MM-DD anchor date the playbook is built around. Omit to KEEP the current value; pass null to CLEAR it. Each item's offset_days counts from it, and it's the default anchor when instantiating. | |
| description | No | Omit to KEEP the current description; pass null to CLEAR it. | |
| playbook_id | Yes | Numeric id of the playbook to edit — the `id` from list_playbooks or get_playbook, or the trailing number in its link_url, not a UUID. It only selects which playbook to change and is never itself modified. Unknown ids, playbooks in another team, and teammates' private playbooks all return NotFound. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| items | No | ||
| team_id | No | ||
| link_url | No | URL to open this playbook in the Marcora web app — share it so the user can view what you created. | |
| created_at | No | Unix ms timestamp. | |
| created_by | No | ||
| updated_at | No | Unix ms timestamp. | |
| visibility | No | private = creator-only; team = visible to all active teammates. | |
| anchor_date | No | Persisted YYYY-MM-DD anchor date, or null. Each item's offset_days counts from it; it's the default when instantiating. | |
| description | No |