Context
The Context tool provides an ephemeral shared memory (Key-Value Store) for agents to pass structured data (JSON) between each other. It's scoped to the organization level.
Key Features:
- Actions: Perform `set`, `get`, `list`, and `delete` operations on context items.
- Key-Value Storage: Store and retrieve data using unique keys.
- Time-To-Live (TTL): Set an optional expiration time for context items (default is 24 hours).
- Filtering: Use prefixes or topics to filter and organize context items.
Example Use Cases:
- An agent can store the results of a lengthy computation for another agent to pick up.
- Sharing configuration settings or state between multiple agents in a workflow.
- A "scratchpad" for an agent to store intermediate thoughts or data.
See our full list of example prompts Here.
UI Example

MCP Tool Reference: context
URI: /.../context
Description: Operations (action): set, get, list, delete
Request fields:
| Parameter | Type | Description |
|---|---|---|
action | enum | |
key | string | required for set/get/delete |
value | object | required for set |
ttl | number | seconds; optional; default 24h per description |
prefix | string | for list filtering |
topic | string | for list filtering; e.g., metrics/config/scratchpad |
Resources