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.