Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial

A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.

TierUse it nowhow much it should matter to you
Useful5my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaPlugin Hookswhat it touches
KindNew Featuresin v2.1.259,
Use it now Notable No documentation found

A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.

A new hook event, prompt.context, joins prompt.section, ui.render, and tool.describe in the SDK/plugin hooks event registry. A hook can now contribute named context blocks to a prompt via {blocks: [{name, text}]}, subject to a validator that caps the count at 32 blocks, requires unique names, and enforces a combined 32000-character budget on top of what the engine itself adds. The event is fully wired through the event list, the site/core hook dispatch tables, and new cache-invalidation hooks invalidatePromptContext and invalidateHookedPromptContext.

Read from
Names in the bundleprompt.contextinvalidatePromptContextinvalidateHookedPromptContext

See this entry in the whole of v2.1.259 →

Feedback