Add Playbook Step
add_playbook_stepAdd a step to a playbook: either a native task in Founders OS or an external action for AI execution via connected MCP tools.
Instructions
Add an ordered step to a playbook. Steps are either 'native_task' (created in Founders OS when the playbook runs) or 'external_action' (instructions returned for the AI to execute via connected MCP tools like GitHub or Slack). All text fields support {{placeholder}} syntax. Steps are ordered by order_index; append by using a value higher than existing steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 'native_task' creates a task in Founders OS. 'external_action' emits instructions for the AI to execute. | |
| title | Yes | Step title. Supports {{placeholders}} like {{customer.name}}. | |
| action | No | For external_action: the action to perform, e.g. 'create_repo', 'create_channel'. | |
| params | No | For external_action: connector-specific parameters. Supports {{placeholders}}. Example: { template: 'ourthinktank/web-template', name: '{{customer.slug}}-{{playbook.start_year}}' } | |
| assignee | No | Deprecated: use `assigned_to`. | |
| priority | No | For native_task: priority. Defaults to 'medium'. | |
| connector | No | For external_action: the MCP connector to use, e.g. 'github', 'slack', 'calendar'. | |
| due_offset | No | For native_task: due date offset in days from the playbook start_date. Omit for no due date. | |
| assigned_to | No | For native_task: who to assign to. Use FOUNDERS_OS_USER_ID, '@claude', or '@gpt'. | |
| description | No | Additional context. Supports {{placeholders}}. | |
| order_index | Yes | Position in the step sequence. Lower numbers run first. | |
| playbook_id | Yes | Playbook UUID. | |
| fallback_task | No | For external_action: task title to create if the connector is unavailable at run time. Always provide this so the playbook degrades gracefully. |