MV

Context Items

Context items are the individual pieces of information that make up a model's context.

ItemRole
System MessageSets the rules the model should follow.
Developer MessageTells the agent how to behave.
User MessageContains the user's request or information supplied to the model.
Tool CallA model-generated request to execute a function with specified arguments.
Tool Call OutputThe result of executing a function, returned to the model.
ReasoningRepresents a reasoning model's intermediate reasoning state, which may be exposed as a summary or preserved in encrypted form.
Model MessageA message generated by the model, such as an answer or clarification.

Each provider has its own representation of these context items, and some unify the system message and the developer message into a single item.

Read more about a model's context.

Back to the glossary

Newsletter

Get new glossary entries and AI system patterns in your inbox.