cortex_project_context
Gather context scoped to a project root path, returning matching documents, chunks, and file entry points; add an optional query to focus results.
Instructions
Collect context scoped to a project directory: matching documents, chunks and file entry points under that path.
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": {
"path": "<path>"
},
"name": "cortex_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project root path to scope context to (prefix match) | |
| query | No | Optional focus query within the project | |
| top_k | No | Number of chunks to return (default 8) |