get_context_tabs
Retrieve context tabs marked for AI inclusion in VS Code, including file content and optional line ranges, to provide focused project context.
Instructions
Retrieves information about tabs that have been specifically marked for inclusion in AI context using the UI toggle in VS Code.
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": {
"targetProjectPath": "<targetProjectPath>"
},
"name": "get_context_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetProjectPath | Yes | Path to the project folder we are working in | |
| includeContent | No | Whether to include the file content of each tab (may be large) | |
| selections | No | Optional array of file paths with specific line ranges to include |