
What a prompt contains
| Area | What you configure |
|---|---|
| Model settings | Provider, model, temperature, max tokens, response format, and other generation controls. |
| Messages | System, user, assistant, and tool messages with text, images, PDFs, and examples. |
| Variables | Runtime inputs such as {{user_question}}, {{context}}, or API/prompt-backed values. |
| Tools | Project tools and optional MCP server tools when enabled. |
| Evaluation | Linked datasets and evaluators for testing across cases. |
| Versioning | Drafts, snapshots, deployment history, and Improve candidates. |
Build and test

- Choose a model and configure generation parameters.
- Compose messages with roles and content.
- Add variables for runtime inputs.
- Attach tools when the model needs external actions or data.
- Run the prompt in the playground with representative inputs.
- Link datasets and evaluators before deployment.
Messages, variables, and tools
Older prompt docs called this the Iterate workflow. In the current Platform sidebar, the same authoring concepts live under Prompts.| Concept | Use it for |
|---|---|
| Roles | Structure system, user, assistant, and tool context. |
| Text | Write instructions, examples, comments, and variable placeholders. |
| Images and PDFs | Add multimodal context for supported models. |
| Variables | Make prompts reusable across users, datasets, API inputs, and chained prompts. |
| API variables | Fetch live data into prompt context. |
| Prompt variables | Use one prompt’s output as another prompt’s input. |
| Tools and MCP | Let the model call external functions, APIs, retrieval systems, or MCP tools. |
Playground

Versioning and deployment
Editing a prompt changes the draft. Deployment creates a snapshot for an environment. Your application should read from the deployment environment it expects, not from an arbitrary draft.| State | Meaning |
|---|---|
| Draft/editor state | Where prompt editing and playground work happen. |
| Prompt version or snapshot | Captured state used for review or deployment. |
| Deployment snapshot | What an application environment reads at runtime. |
| Improve approval | Can apply a candidate and deploy it, while Edit & approve applies it without deployment. |
Prompts in the Platform workflow
- Tools define callable functions or HTTP-backed actions.
- Evaluators define success criteria.
- Datasets provide test cases.
- Logs show deployed prompt behavior in production.
- Behaviors cluster recurring outcomes.
- Improve proposes prompt changes from those signals.
- Deploy ships a prompt version to an environment.
Build and test prompts
Configure messages, variables, model settings, tools, datasets, and playground runs.
Version and deploy
Understand drafts, snapshots, deployment environments, approval, and rollback.
Tools
Define reusable tool schemas and HTTP-backed actions.
Evaluators
Define pass/fail, scoring, cost, latency, and formatting criteria.