preload_context
Starting a project? Retrieve relevant memories from its path and return a compressed summary to restore working context.
Instructions
Pre-load context for a project or workspace. Extracts relevant memories from the project path and returns them as a compressed summary.
Use this when starting work on a known project to restore working context.
Args: project_path: Absolute path to the project or workspace. If empty, uses current working directory. k: Number of relevant memories to retrieve (default 8, max 20).
Returns: Compressed context summary with project-relevant memories.
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": "preload_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |