get_imports
List a codebase's imports with module, names, and line numbers, optionally filtered by file or project, to trace dependencies without scanning raw text.
Instructions
List imports (module, names, line).
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": "get_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name/path (default: active). | |
| compress | No | Compact rows (default true). | |
| file_path | No | Filter to file (omit=all). | |
| max_results | No | Default 100. 0=unlimited. Truncated results carry a trailing `_truncated` marker with total count. |