get_project_context
Reduce multiple file reads to a single call by loading specific files with caching and security validation.
Instructions
Returns formatted context for a list of files. Use this to load specific files into AI agent context with caching.
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": {
"paths": "<paths>"
},
"name": "get_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | List of absolute or relative file paths to include | |
| configPath | No | Path to contextcache.json for security configuration | |
| projectRoot | No | Project root for resolving relative paths (default: cwd) |