create_plan
Create a new content plan in the specified team.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
team_id | integer | Yes | — | Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions. |
title | string | Yes | — | Required. The one-line summary of the content intent (1-200 chars). |
description | string | No | — | Optional free-text description of what this plan is for. |
due_date | string | No | — | Optional target completion date. ISO 8601 date string YYYY-MM-DD. |
prompt | string | No | — | The actual content prompt — pre-populates the content creation form when the plan is acted on. |
blueprint_id | string | No | — | Blueprint UUID (from list_blueprints) or integer blueprint id. UUIDs are resolved server-side; unknown UUIDs return InputError. |
project_id | string | No | — | Project UUID string to associate with this plan. |
category_id | integer | No | — | Content category integer ID. |
reference_document_ids | array of string | No | — | Array of content UUID strings to associate as reference material. |
context_collection_ids | array of integer | No | — | Array of integer collection IDs to pre-attach. |
targeting_dimension_ids | array of integer | No | — | Array of integer dimension option IDs to pre-attach. |
generation_settings | object | null | No | — | Generation settings: { use_cycle_source?: boolean, calls_source?: object | null }. When use_cycle_source is true on a playbook cycle step, generation also sees a current snapshot of the whole cycle (topic/details, variables, anchor, and team-visible steps' title, owner, dates, status), omitting private steps (with a generated-document footer stating how many were left out) and excluding other steps' text. |
source | string | No | — | Plan source. Default cora_requested for Marcora interactive callers. The cora_* values are legacy wire names that predate the Marcora rename and are unchanged — send them exactly as written. Allowed: user_added, cora_proactive, cora_requested, workflow, playbook. Immutable after creation. |
source_metadata | any | No | — | Optional. Shape varies by source: {cora_session_id, cora_message_snippet} for cora_proactive; {workflow_template_id, workflow_run_id, workflow_name, run_timestamp} for workflow. Immutable after creation. |
assigned_to | integer | No | — | Integer user ID of the teammate to assign the plan to (from `get_current_user_info`). Defaults to creator. Must be an enabled member of that team. |
visibility | string | No | — | Optional. Defaults to "private" (creator-only ideas queue). "team" makes the plan visible to all active teammates. Assigning to someone other than the calling user auto-promotes to "team". |
plan_uuid | string | No | — | Optional client-supplied UUIDv4 for optimistic creates. Server validates format + uniqueness. Server generates if omitted. |
draft_lead_days | integer | No | — | Content plans only: whole calendar days (0-365) before due_date when scheduled auto-generate starts (rejects non-integers and null; defaults to 3 when do_on_date is newly enabled, 0 on existing schedules). Note: later sending draft_lead_days (or schedule_time_zone, title, description, prompt, blueprint_id, project_id, reference_document_ids (even []), builds_on_plan_ids when any link/doc remains, context_collection_ids, targeting_dimension_ids, or generation_settings) via update_plan turns an enabled auto-generate schedule off; MCP cannot turn auto-generate on (stored lead only; when the owner turns it back on in the app, an unset lead resets to 3, so pick the intended lead there). |
document_update | object | null | No | — | Optional update-existing-document config: `{ mode: "update", target_content_id, review_mode?: "approval" | "direct" }` (clears any blueprint_id; omits/null creates a new document). |
Input Schema
{
"type": "object",
"required": [
"team_id",
"title"
],
"properties": {
"title": {
"type": "string",
"description": "Required. The one-line summary of the content intent (1-200 chars)."
},
"prompt": {
"type": "string",
"description": "The actual content prompt — pre-populates the content creation form when the plan is acted on."
},
"source": {
"type": "string",
"description": "Plan source. Default cora_requested for Marcora interactive callers. The cora_* values are legacy wire names that predate the Marcora rename and are unchanged — send them exactly as written. Allowed: user_added, cora_proactive, cora_requested, workflow, playbook. Immutable after creation."
},
"team_id": {
"type": "integer",
"minimum": 1,
"description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions."
},
"due_date": {
"type": "string",
"description": "Optional target completion date. ISO 8601 date string YYYY-MM-DD."
},
"plan_uuid": {
"type": "string",
"description": "Optional client-supplied UUIDv4 for optimistic creates. Server validates format + uniqueness. Server generates if omitted."
},
"project_id": {
"type": "string",
"description": "Project UUID string to associate with this plan."
},
"visibility": {
"enum": [
"private",
"team"
],
"type": "string",
"description": "Optional. Defaults to \"private\" (creator-only ideas queue). \"team\" makes the plan visible to all active teammates. Assigning to someone other than the calling user auto-promotes to \"team\"."
},
"assigned_to": {
"type": "integer",
"description": "Integer user ID of the teammate to assign the plan to (from `get_current_user_info`). Defaults to creator. Must be an enabled member of that team."
},
"category_id": {
"type": "integer",
"description": "Content category integer ID."
},
"description": {
"type": "string",
"description": "Optional free-text description of what this plan is for."
},
"blueprint_id": {
"type": "string",
"description": "Blueprint UUID (from list_blueprints) or integer blueprint id. UUIDs are resolved server-side; unknown UUIDs return InputError."
},
"document_update": {
"type": [
"object",
"null"
],
"properties": {
"mode": {
"enum": [
"create",
"update"
],
"type": "string"
},
"review_mode": {
"enum": [
"approval",
"direct"
],
"type": "string",
"description": "approval (default) = hold a pending update proposal for review; direct = apply directly when produced."
},
"instructions": {
"type": [
"string",
"null"
],
"maxLength": 25000,
"description": "Optional update-specific instructions (up to 25,000 characters)."
},
"target_content_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "UUID of the existing document to update."
},
"target_document_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Input alias for target_content_id."
}
},
"description": "Optional update-existing-document config: `{ mode: \"update\", target_content_id, review_mode?: \"approval\" | \"direct\" }` (clears any blueprint_id; omits/null creates a new document)."
},
"draft_lead_days": {
"type": "integer",
"maximum": 365,
"minimum": 0,
"description": "Content plans only: whole calendar days (0-365) before due_date when scheduled auto-generate starts (rejects non-integers and null; defaults to 3 when do_on_date is newly enabled, 0 on existing schedules). Note: later sending draft_lead_days (or schedule_time_zone, title, description, prompt, blueprint_id, project_id, reference_document_ids (even []), builds_on_plan_ids when any link/doc remains, context_collection_ids, targeting_dimension_ids, or generation_settings) via update_plan turns an enabled auto-generate schedule off; MCP cannot turn auto-generate on (stored lead only; when the owner turns it back on in the app, an unset lead resets to 3, so pick the intended lead there)."
},
"source_metadata": {
"description": "Optional. Shape varies by source: {cora_session_id, cora_message_snippet} for cora_proactive; {workflow_template_id, workflow_run_id, workflow_name, run_timestamp} for workflow. Immutable after creation."
},
"generation_settings": {
"type": [
"object",
"null"
],
"properties": {
"calls_source": {
"type": [
"object",
"null"
],
"description": "Calls filter ({ from, to, kinds, companies }), {} for all calls, or null."
},
"use_cycle_source": {
"type": "boolean",
"description": "Content steps only: true sees a live cycle snapshot. Covers topic/details, variables, anchor, and team-visible steps' title, owner, dates and status, omitting private steps (with a generated-document footer stating how many were left out) and excluding other steps' text."
}
},
"description": "Generation settings: { use_cycle_source?: boolean, calls_source?: object | null }. When use_cycle_source is true on a playbook cycle step, generation also sees a current snapshot of the whole cycle (topic/details, variables, anchor, and team-visible steps' title, owner, dates, status), omitting private steps (with a generated-document footer stating how many were left out) and excluding other steps' text."
},
"context_collection_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Array of integer collection IDs to pre-attach."
},
"reference_document_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Array of content UUID strings to associate as reference material."
},
"targeting_dimension_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Array of integer dimension option IDs to pre-attach."
}
}
}Output Schema
{
"type": "object",
"required": [
"plan_uuid",
"id",
"team_id",
"created_by",
"assigned_to",
"stage",
"source",
"title",
"created_at",
"updated_at",
"link_url"
],
"properties": {
"id": {
"type": "integer",
"description": "Internal integer PK; not exposed externally."
},
"step": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"optional": {
"type": "boolean"
},
"schedule": {
"type": "object",
"properties": {
"error": {
"type": [
"string",
"null"
]
},
"due_at": {
"type": [
"integer",
"null"
]
},
"enabled": {
"type": "boolean"
},
"outcome": {
"enum": [
"claimed",
"dispatching",
"started",
"failed",
"unknown",
"skipped",
"cancelled",
"overdue",
"waiting",
"waiting_content",
"invalidated",
null
],
"type": [
"string",
"null"
],
"description": "Schedule outcome: null (pending), waiting_content (a \"Do it on its date\" step is waiting because an earlier content step it builds on has no ready draft yet; retries on its own once that source is ready), waiting (waiting on an earlier checklist or action step; needs explicit produce_plan or generate_cycle_content), overdue (due date passed without running; needs explicit produce_plan or generate_cycle_content), invalidated (a teammate's edit or revoked consent switched automatic start off), cancelled (turned off or reassigned), skipped (step became ineligible for automatic start), claimed (picked up by a scheduler sweep), dispatching (starting execution), started (scheduled run started), failed (start failed with a client error), or unknown (ambiguous start error; check existing work before trying manually)."
},
"time_zone": {
"type": "string"
},
"generate_at": {
"type": [
"integer",
"null"
]
},
"attempted_at": {
"type": [
"integer",
"null"
]
},
"execution_uuid": {
"type": [
"string",
"null"
]
}
},
"description": "Auto-generation schedule state readback. outcome is null (pending), waiting_content (waiting on an earlier content step's draft; retries on its own once ready), waiting (waiting on an earlier checklist or action step), overdue (past due), invalidated (teammate edit or revoked consent switched automatic start off), cancelled (turned off or reassigned), skipped (ineligible), or claimed / dispatching / started / failed / unknown during or after a scheduled run. An overdue or waiting schedule does not auto-generate and needs an explicit generate via produce_plan or generate_cycle_content."
},
"do_on_date": {
"type": "boolean"
},
"goes_out_date": {
"type": [
"string",
"null"
]
},
"document_update": {
"type": "object",
"properties": {
"mode": {
"enum": [
"update"
],
"type": "string"
},
"stale": {
"type": "boolean"
},
"last_error": {
"type": [
"string",
"null"
]
},
"can_approve": {
"type": "boolean"
},
"review_mode": {
"enum": [
"approval",
"direct"
],
"type": "string"
},
"instructions": {
"type": [
"string",
"null"
]
},
"last_outcome": {
"enum": [
"applied",
"rejected",
"conflict",
"superseded",
"failed",
"no_changes",
null
],
"type": [
"string",
"null"
]
},
"latest_state": {
"type": [
"string",
"null"
]
},
"target_title": {
"type": [
"string",
"null"
]
},
"pending_state": {
"enum": [
"pending",
"applying",
null
],
"type": [
"string",
"null"
]
},
"pending_summary": {
"type": [
"string",
"null"
]
},
"target_can_open": {
"type": "boolean"
},
"target_link_url": {
"type": [
"string",
"null"
]
},
"latest_update_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"pending_update_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"target_content_id": {
"type": [
"string",
"null"
],
"format": "uuid"
}
},
"description": "Present on content steps configured to update an existing document."
},
"draft_lead_days": {
"type": "integer",
"description": "Content steps: whole calendar days (0-365) before due_date when auto-generate starts (defaults to 3 when newly enabled; 0 for existing schedules). Note: sending draft_lead_days (or schedule_time_zone, title, description, prompt, blueprint_id, project_id, reference_document_ids (even []), builds_on_plan_ids when any link/doc remains, context_collection_ids, targeting_dimension_ids, or generation_settings) via update_plan turns an enabled auto-generate schedule off; MCP cannot turn auto-generate on (stored lead only; when the owner turns it back on in the app, an unset lead resets to 3, so pick the intended lead there)."
},
"schedule_time_zone": {
"type": "string"
}
},
"description": "Playbook/schedule step settings including draft_lead_days (content steps: 0-365 whole calendar days) and schedule readback (see schedule.outcome: waiting_content retries on its own once the source draft is ready; overdue or waiting needs an explicit generate; invalidated means a teammate's edit or revoked consent turned automatic start off)."
},
"team": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"description": "Team this action applied to."
},
"stage": {
"enum": [
"Suggested",
"Accepted",
"In_Process",
"Complete",
"Dismissed"
],
"type": "string"
},
"title": {
"type": "string"
},
"prompt": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"team_id": {
"type": "integer"
},
"due_date": {
"type": [
"string",
"null"
]
},
"link_url": {
"type": "string",
"format": "uri",
"description": "Shareable deep-link that opens the plans screen with this plan's detail overlay. Give this to the user."
},
"plan_uuid": {
"type": "string",
"description": "UUIDv4 — the external-facing identifier. Use this for all subsequent calls."
},
"created_at": {
"type": "integer"
},
"created_by": {
"type": "integer"
},
"project_id": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": "integer"
},
"visibility": {
"enum": [
"private",
"team"
],
"type": "string",
"description": "private = creator-only; team = visible to all active teammates."
},
"assigned_to": {
"type": "integer"
},
"category_id": {
"type": [
"integer",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"blueprint_id": {
"type": [
"integer",
"null"
]
},
"completed_at": {
"type": [
"integer",
"null"
]
},
"dismissed_at": {
"type": [
"integer",
"null"
]
},
"step_link_url": {
"type": "string",
"description": "Only on a plan that is a playbook cycle step (run_id set): link that opens the cycle on this step; it keeps working when steps are added or reordered. Present it as returned."
},
"source_metadata": {
"type": [
"object",
"null"
]
},
"context_collections": {
"type": "array"
},
"generation_settings": {
"type": [
"object",
"null"
],
"description": "Generation source settings ({ use_cycle_source?: boolean, calls_source?: object | null }), or null. When use_cycle_source is true on a cycle step, generation sees a live snapshot of team-visible steps only (private steps omitted with a footer count)."
},
"produced_content_id": {
"type": [
"string",
"null"
]
},
"reference_documents": {
"type": "array"
},
"targeting_dimensions": {
"type": "array"
}
}
}Instructions
Create a new content plan in the specified team (team_id).
Starting stage by source:
cora_requested,playbook→ starts at Accepteduser_added,cora_proactive,workflow→ starts at Suggested
Output: Full plan object (same fields as get_plan, including step_link_url on a playbook cycle step).
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.