A prompt guides the AI model but does not call your API by itself. Use a tool when the workflow must perform an action.
When to use prompts
Prompts are useful for repeatable AI workflows, such as:- Summarizing support cases
- Drafting customer emails
- Writing release notes
- Analyzing logs
- Reviewing pull requests
- Generating product descriptions
Creating a prompt
Each prompt includes:- Name
- Title
- Description
- Arguments, if needed
- One or more messages
Arguments
Arguments make prompts reusable. Define the values a client must provide when invoking the prompt, such as a case ID, customer name, or product identifier. Argument names:- May contain letters, numbers, and underscores (
_) - Must begin with a letter or underscore
- Can be marked as required or optional
{{.case_id}} is replaced with the value provided by the client.
Best practices
- Give prompts clear, task-oriented names.
- Keep each prompt focused on a single workflow.
- Use arguments instead of hardcoded values whenever possible.
- Write instructions that produce consistent results across different inputs.