Skip to main content
The Prompt Editor is the core workspace of Prompt Studio. It provides a structured, IDE‑like interface for building and refining your prompts.

Message Blocks

Prompts are composed of structured message blocks. Each block represents a message in the conversation: Click Add Message to add additional blocks. Drag blocks to reorder them.

Template Variables

Use {{variable_name}} syntax anywhere in your message blocks to create dynamic prompts:
Variables are resolved at runtime when the prompt is called via API:

Model Parameters

The right panel lets you configure model-specific settings:

Toolbar Actions

The editor toolbar includes:
  • Run — Execute the prompt and view the output in the right panel
  • Save — Save the current state as a draft
  • Publish — Promote the draft to a published version
  • Fork — Create a copy of the prompt for experimentation
  • Optimize — Let Traceport’s AI analyze and suggest improvements to your prompt
Use the Fork feature to experiment with prompt variations without affecting the original.