Plan a multi-step workflow
plan_workflowFind candidate steps for a multi-step job; these are suggestions, not a complete context-validated plan. First use the current chat, supplied files and authorized me.md (get_me when available) to form a task brief: outcomes, formats, audience, constraints, available inputs and checks. Keep private context in the host; send focused task terms here. Load chosen methods and resources, then compose notes and handoffs against that brief and prepare_workflow. Returns a diagram you can show the user. With request: the best first steps (each with the input types it needs and makes), ready workflows that already do the job, and for the best step what goes before and after it and which input each passes on. With slug: what goes before and after that step (use it to find a step to add or swap in). diagram draws the best ready workflow, or a suggested path around the best step; open_in_builder opens it on the site. Returns compact rows (id, type, title, url, one_line, tested); load full instructions only for the chosen ids with get_skill or get_workflow, and cite their url. Plain code; does not use a server-side model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | One step to map before and after. | |
| limit | No | First steps for a request (default 5), or before and after steps for a slug (default 3). | |
| request | No | What the user wants, in their words. Send request or slug, not both. | |
| response_format | No | concise (default): 3 steps before and after the best first step. detailed: 5, plus the optional inputs of each step and why it was picked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | ||
| after | No | ||
| needs | No | ||
| anchor | No | ||
| before | No | ||
| notice | Yes | ||
| schema | Yes | ||
| diagram | No | Show diagram.mermaid to the user in a ```mermaid code block; use outline (detailed) where diagrams do not render. | |
| request | No | ||
| first_steps | No | ||
| next_action | Yes | ||
| open_in_builder | No | Opens this workflow in the AI Blocks builder on useaiblocks.com, where the user can edit, save or download it. | |
| ready_workflows | No | ||
| ready_workflows_using_it | No |