relevant_context
Map the dependency context around given files by showing their imports, importers, and top symbols for code navigation and impact review.
Instructions
Show the files around the given files: what they import and what imports them, with their top symbols.
Args: files: Center file paths. depth: Number of hops, 1 or 2 (default 1). task_hint: Optional task text that orders the files.
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": {
"files": "<files>"
},
"name": "relevant_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| files | Yes | ||
| task_hint | No | ||
| workspace | No | Project path (default: this project) | |
| max_tokens | No | ||
| include_symbols | No |