Skip to main content
Prompts are reusable MCP-managed instruction assets. A prompt import exposes an MCP prompt to a workflow.
prompt writer_instructions from mcp.tasks.prompt.writer_instructions
Render a prompt in a dynamic block:
dynamic {
    instructions: render prompt.writer_instructions
}
Prompts can also be provided to an agent through uses.
agent writer {
    model: model.fast
    uses: [prompt.writer_instructions]
    instruction: "Use the writing instructions to draft a response for {{ input.topic }}."

    output {
        draft: string
    }
}
Use dynamic { render prompt.* } when prompt content should be materialized before agent execution. Use uses: [prompt.*] when the prompt should be available as agent capability context. uses accepts tools, prompts, and resources.

See also