list_playbook_workflow_options
List active custom and team-shared workflows you can attach to a playbook workflow step, along with their declared inputs.
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. |
Input Schema
{
"type": "object",
"required": [
"team_id"
],
"properties": {
"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."
}
}
}Output Schema
{
"type": "object",
"required": [
"items",
"total"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"enum": [
"custom",
"team_setup"
],
"type": "string",
"description": "custom = caller's own workflow (step owner pinned to creator); team_setup = team-shared setup (accepts step inputs only)."
},
"name": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"text",
"document"
],
"type": "string"
},
"required": {
"type": "boolean"
},
"description": {
"type": "string"
}
}
}
},
"status": {
"type": "string"
},
"owner_name": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"has_schedule": {
"type": "boolean"
},
"owner_user_id": {
"type": "integer"
},
"template_name": {
"type": [
"string",
"null"
]
},
"schedule_config": {
"type": [
"object",
"null"
]
}
}
}
},
"total": {
"type": "integer"
}
}
}Instructions
List the active workflows you can attach to a playbook workflow step: your own custom workflows and team_setup workflows shared with the team. Read-only. Use it before create_playbook, update_playbook or add_playbook_step with kind: "workflow", and before update_playbook_step_workflow.
Output: items and total. Each item: id (the workflow_id to use), name, description, kind (custom = your own workflow, whose step owner stays pinned to you; team_setup = a team-shared setup that any teammate who can run it may own, accepting earlier-step documents only), status, inputs (name, type of text or document, required, description), has_schedule, schedule_config, owner_user_id, owner_name, template_name. Workflows that publish to a destination are not offered, and neither are other people's custom workflows.
When to use
Call before create_playbook, update_playbook, or add_playbook_step with kind: "workflow", and before update_playbook_step_workflow.