Push working context
push_contextStore a key/value entry in a session's working memory (short-lived
scratch space). Pushing the same (session_id, key) again replaces the
previous value. Read it back with get_context, or with
retrieve_memories by passing session_id.
Args:
session_id: Session identifier.
key: Entry key.
value: Value to store; a string is stored as {"data": value}.
ttl_seconds: Seconds until the entry expires. 0 (default) = never.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| session_id | Yes | ||
| ttl_seconds | No |