session_init
Initialize a session memory for the current project at startup. Optionally provide a parent session ID to continue an existing tree and a focus to define the session's purpose.
Instructions
Initialize a new CogSession for the current project. Call this at the START of a Claude Code session. Provide parent_session_id to continue from a previous session (tree structure). Provide focus to describe what this session is about.
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_root": "<project_root>"
},
"name": "session_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | What this session is about (e.g. 'auth module JWT implementation') | |
| project_root | Yes | Absolute path to project root | |
| parent_session_id | No | ID of the session to continue from (for tree structure) |