set_working_memory
Save a key-value pair to the session's working memory for temporary state during a research pipeline, preserving intermediate results without indexing.
Instructions
Write a key/value pair to the current session's working memory.
Working memory is an ephemeral scratchpad — it persists for the session
but is not indexed for vector search. Use it for state that agents need
mid-pipeline (e.g. intermediate results, decisions made so far).
Args:
session_id: Pipeline session ID from session_bootstrap().
key: Variable name (e.g. 'current_article', 'user_intent').
value: Value to store (any string, JSON, or text).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| key | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |