compose_prompts
Create complex multi-step workflows by combining multiple existing prompts into a single prompt. Use search_prompts to find names, then compose.
Instructions
π Combine Prompts: Combine multiple existing prompts into a single prompt. Perfect for creating complex multi-step workflows. π WORKFLOW: Use search_prompts to find prompt names first, then compose them.
Example tool call
This call uses example arguments supplied in the toolβs input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompts": [
"code_review_assistant",
"documentation_generator"
],
"description": "Review code then generate docs"
},
"name": "compose_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompts | Yes | List of exact prompt names to combine in order. Get these names from search_prompts results. Examples: ["code_review_assistant", "documentation_generator"] | |
| separator | No | Text to insert between prompts. Defaults to "\n\n---\n\n". Can use "\n\nNext Step:\n\n" or custom separators. |