← Back to patterns
Inline & Contextual

Inline Prompt Controls

Parse the Prompt, Surface the Controls

What if your prompt parsed itself — every variable detected and turned into an inline control you click to change, right where it sits in the prose? Unlike a template you fill from a blank form, the prose stays the source of truth and the controls are extracted from it. Tellius ships it for analytics queries: keywords become inline tokens you click to swap. For prompts that generate content it is still open (reliable parsing is the hard part); neighbours parse a fixed grammar out of plain text (Todoist Quick Add) or slot-fill references beside the prompt (Runway).

Metaphor

Rich Text Editor

Interaction

Inline, Contextual

Use case

Video Generation, Complex Prompt Authoring, Multi-Parameter Workflows

Failure mode

Config-in-Prose

Control mechanisms

Clickable Parameters · Popovers · Inline Editing

Reference examples

Tellius Search · Todoist Quick Add · Runway References

Interactive Example

The chat default and the pattern, against each other on the same task. The demo is the comparison.

Loading Demo

Preparing the interactive example for this pattern.

The prompt is prose. It's also a control surface.

A long prompt fuses intent and configuration into one brittle text blob. Change the resolution or swap a single value, and you reread the whole thing, find the right words, and rewrite them in place without breaking the rest. Configuration buried in prose has no edit affordance of its own.

Inline Prompt Controls parse the variables out of the prose and make each detected value clickable where it sits — type and valid range on hover, structured options in place. The text stays the source of truth, but every parameter becomes directly editable instead of something you renegotiate with the whole sentence.

When editing one setting means rewriting the entire prompt, the prompt isn't an interface — it's a hostage situation.

DOPE Lens

How this pattern improves AI interaction quality.

DOPETRUSTWORTHYAIAUTONOMY

DirectabilityPrimary

Click any value to change it — the prompt is the control surface

Observability

Every parameter is visible inline, never hidden in syntax

Predictability

Structured options mean consistent, repeatable outputs

Explainability

Each detected parameter shows its type and valid range when hovered

Fit

Where it earns its place.

Use it
when

Prompts are long enough that editing one variable means rewriting the whole text.

Avoid
when

The prompt is intentionally freeform and the parser cannot detect stable fields.

In the wild

Where this pattern already ships.

Real implementations from products users already know. Each entry shows how the pattern got applied — what shipped, where it sits in the product, what it traded off.

Research Frame

Why this pattern exists, and where it breaks.

Long prompts mix intent and configuration in one brittle text blob.

Parse variables out of prose and surface them as inline controls.

Editing one setting means rereading and rewriting the entire prompt.

Bad parsing can invent structure and make the system feel unreliable.

Common questions

What people ask about this pattern.

When should I use the Inline Prompt Controls pattern?

+

Prompts are long enough that editing one variable means rewriting the whole text.

When should I avoid the Inline Prompt Controls pattern?

+

The prompt is intentionally freeform and the parser cannot detect stable fields.

What problem does Inline Prompt Controls solve?

+

Long prompts mix intent and configuration in one brittle text blob.

Why is chat the wrong fit for this?

+

Editing one setting means rereading and rewriting the entire prompt.