Working Memory: Get
getWorkingMemoryRetrieve the current state for a (kind, key) in the current session. Returns null if not set. Use this when you need to merge into existing state or verify what's stored. NOTE: Active working memory entries are ALSO automatically injected into the system prompt by Build Messages — you usually don't need to call this manually. Only call when you need a specific record's full state on-demand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Logical identifier within the kind (same key used in setWorkingMemory). | |
| kind | Yes | Which kind of state to retrieve: wizard | working_set | pinned_entity. | |
| session_id | Yes | The current chat session_id. REQUIRED. |