Skip to content

Context items

A context_item is one unit of usable context. It can be text, structured data, a resource link, an artifact part, a tool result ref, a browser observation, a summary, or opaque referenced content.

Required fields

FieldPurpose
item_idStable item id.
context_kindSemantic kind of the item.
content_modeInline, ref, summary, embedded resource, resource link, artifact ref, tool result ref, or opaque.
visibilityTargets allowed to see the item.

Add title, mime_type, language, source_refs, token_estimate, byte_size, freshness, trust_level, priority, sensitivity, redaction_state, and metadata.

Fixed rule

An item is context, not authority by itself. Authority comes from its source refs, provenance, freshness, and policy/evidence links.

Draft standard for portable agent context surfaces, selection, budgets, injection, compaction, and missing-context facts.