attach_prompt_snippet_to_flow_step
Attach a library prompt snippet to a flow step's prompt stack by specifying the target channel (system or user) and display order to activate the snippet within the step.
Instructions
Place a library prompt snippet into a flow step's prompt stack. Choose the channel (target: system/user) and its order in that channel. This is what makes a snippet actually shape the step's prompt — creating the snippet alone does nothing. Returns the created link (with its linkId) so you can reorder or detach it later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Which prompt channel to place the snippet in: 'system' (instructions the model is steered by) or 'user' (content presented as the user turn). | |
| snippetId | Yes | The prompt snippet's id (a UUID). | |
| flowStepId | Yes | The flow step's id. | |
| displayOrder | No | Position within the chosen channel (0 = first). Defaults to 0. |