map
Returns a token-budgeted directory tree with file counts, types, and heat, letting agents inspect indexed filesystem structure without reading file contents.
Instructions
Terrain map of an indexed directory, under a hard token budget.
Returns a directory tree with file counts, types and heat. Empty path means
the home root. budget is the maximum estimated tokens for the map.
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": "map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| depth | No | ||
| budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |