decompose_prompt
Break down raw prompts into structured components like role, objective, context, and constraints for clearer AI interactions and easier editing.
Instructions
Decompose a raw prompt into structured blocks (role, objective, context, constraints, etc.).
Uses AI (Claude/OpenAI) if an API key is configured on the server, otherwise
falls back to keyword-based heuristic analysis.
Returns a JSON list of blocks ready to edit or pass to compile_prompt.
Args:
prompt: The raw prompt string to decompose.
Returns:
A summary of extracted blocks + the full JSON to pass to compile_prompt.Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes |