get_project_context
Load top project and global memories to provide full context from previous sessions. Optionally pass a current task to retrieve the most relevant memories.
Instructions
Load top memories for the current project plus relevant global memories. Use at the start of a session to get full context from previous sessions. Optionally pass context to get memories most relevant to your current task.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project identifier (auto-detected from git remote if omitted) | |
| include_global | No | Include global developer preferences | |
| context | No | Optional context to improve relevance ranking (e.g., current task or topic) | |
| context_type | No | Optional context type that shifts scoring weights. debugging = boost bug/pattern memories, planning = boost architecture/decision, reviewing = boost pattern/preference. | |
| compact | No | When true (default), returns only formatted_context text instead of full JSON arrays. Saves ~60% tokens. | |
| limit | No | Max total memories to return (default 25). Lower values save context tokens. | |
| team_id | No | Optional override. Team memories are automatically included for team/enterprise users. |