Skip to content
GlossaryConceptUpdated May 2026

Prompt

noun · also: llm, rag, prompt-injection

What is prompt?

A prompt is the input text you send to an LLM — the instructions, context, and question that shape the response.

Definition

Full definition of prompt

Prompts can be one sentence ("Translate to Spanish: hello") or thousands of words (system instructions, examples, retrieved context, user question). Good prompt design is most of the work in building LLM apps. Tiny Command lets you template prompts with workflow data using {{variable}} syntax. Treat prompts like code: version them, test them, monitor their outputs.

In practice

Prompt examples

System prompt
You are a support triage bot. Classify the user message as: bug, billing, feature_request, account. Return JSON.
Used by

Apps that exemplify prompt

See prompt in action across real integrations.

FAQ

Common questions about prompt

Where should the system prompt go?
In the messages array as role: 'system', before the user messages. It sets the model's persona and rules.
How do I prevent prompt injection?
Distrust user-provided text. Don't blindly execute model outputs. Validate before acting (e.g., confirm an SQL query is read-only before running it).