save_context_file
Writes AGENT_CONTEXT.md into a project directory to persist task context, enabling an AI coding agent to recover memory across crashed or new sessions.
Instructions
Write AGENT_CONTEXT.md into the project directory.
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_path": "<project_path>",
"context_text": "<context_text>"
},
"name": "save_context_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_text | Yes | Markdown content to write | |
| project_path | Yes | Absolute path to the project directory |