working_memory_set
Stores a transient project-scoped key-value entry that expires automatically after a set TTL, overwriting any existing key without error. Use it for debug flags or temporary task context that must not pollute 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 (1-604800, default 86400s). Longer-lived data belongs in update_state, not here. | |
| project_path | No | Absolute path to the project root. Defaults to current working directory. |