get_repo_map
Retrieve a JSON index of repository files and functions for a given root path, optionally scoped to a directory prefix, to identify relevant files before exploring.
Instructions
Return the JSON repo index for root_path, optionally scoped to dir_prefix. Call this before exploring.
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": {
"root_path": "<root_path>"
},
"name": "get_repo_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes | ||
| dir_prefix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |