Build prompts from template
llm_build_promptsGenerate complete prompts in bulk by filling a template with each list item, using positional or named placeholders for structured data.
Instructions
Fills a template (Python str.format) with each item in a list. A step between a producer and ask_llm in for_each — builds N full prompts without the agent having to type them out by hand. Plain items (strings, numbers) fill a positional '{}' placeholder; dict items (e.g. read_file's {"path":..., "content":...}) fill named placeholders like '{content}' or '{path}' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| template | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||