Save handover context
write_previous_contextSaves a short handover note for the next session of this persona and project, replacing the previous one.
One note per account, persona and project. The next `activate` of this
persona and project returns it; remove it afterwards with
`clear_previous_context`.
`project_scope`: the project the entry belongs to. Omitted, the session's
project is used (the `X-Project-Scope` header, otherwise the server
default). Pass "global" for the general memory shared by all projects,
only for what holds in every project; the general memory is read on the
Pro plan only.
Content: facts, with code, paths and figures kept exact. At most 6 000
characters. The next activation serves it before the memory pack and takes
its room from it, so a note is usually a few lines.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content_md": "<content_md>"
},
"name": "write_previous_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_md | Yes | ||
| persona_slug | No | ||
| project_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||