working_memory_set
Store transient project-scoped key-value entries that expire automatically, ideal for debug flags and temporary task context without polluting long-term state.
Instructions
Store a transient key-value entry scoped to the current project. Expires automatically after ttl_seconds (default 86400s). Overwrites any existing entry with the same key without error. Use for debug flags, temporary task context, or values that must not pollute long-term state in update_state. Do not use for data that must survive a session restart — use update_state instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique name for this transient entry, e.g. 'debug_flag' or 'active_config'. | |
| value | Yes | Value to store. Any string including JSON. | |
| ttl_seconds | No | How long the entry lives in seconds. Omit to use the session default (86400s). | |
| project_path | No | Absolute path to the project root. Defaults to current working directory. |