Working memory for the current session. Use this to save facts discovered mid-task (file paths, config values, error messages) so they are not lost across tool calls.
todo for that.| Field | Type | Required | Description |
|---|---|---|---|
| action | string | yes | One of: write, append, read, clear |
| section | string | no | Section name: goal, findings, artifacts, errors, main. Defaults to main on write/append. |
| content | string | no | Required for write and append. The text to save. |
Overwrite a section with new content.
{"action": "write", "section": "findings", "content": "The config file is at /etc/app/config.yml"}
Add text to the end of an existing section.
{"action": "append", "section": "findings", "content": "Port is 8080"}
Return the contents of one section, or all sections if section is omitted.
{"action": "read", "section": "findings"}
Erase one section, or the entire scratchpad if section is omitted.
{"action": "clear", "section": "errors"}
content on write/append — The call will fail. Always provide content.section instead of content — section is the category name (e.g. "findings"), content is the actual text.op instead of action — The parameter is called action, not op.{"action": "your text"} is wrong. Use {"action": "write", "content": "your text"}.# Step 1: Set the goal
{"action": "write", "section": "goal", "content": "Fix the database connection error"}
# Step 2: Record what you found
{"action": "write", "section": "findings", "content": "Error says 'connection refused on port 5432'"}
# Step 3: Add more info
{"action": "append", "section": "findings", "content": "PostgreSQL service is stopped"}
# Step 4: Check what you saved
{"action": "read"}
# Step 5: After fixing, clear errors
{"action": "clear", "section": "errors"}