Write a project memory file
save_memoryWrite a project's memory file, PROJECT_GUIDE.md, in full — it replaces what is stored. Size is measured against the plan's budget (12,000 characters on Free, more on paid plans) and an over-budget write is refused. compact: true stores a shorter version in the same call. No approval is required.
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": {
"project_id": "<project_id>",
"body": "<body>",
"idempotency_key": "<idempotency_key>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | No | PROJECT_GUIDE.md; the only file a project has. | |
| compact | No | ||
| project_id | Yes | ||
| confirmation_id | No | ||
| idempotency_key | Yes | ||
| confirmation_via | No |