vfs_inspect
Inspect code read-only: map directories, outline AST, read line ranges, find symbols, export GBNF grammar, and resolve paths or ref handles.
Instructions
Read-only view: action=tree (dir map), skeleton (AST outline), read (line range), symbols (exact/prefix symbol lookup), grammar (GBNF export), resolve (canonical path or ref:// handle). USE WHEN: orienting, reading code, fetching folded content, finding a symbol, or checking the tool grammar. DO NOT USE: to write or run tests.
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": {
"action": "<action>"
},
"name": "vfs_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| query | No | ||
| action | Yes | ||
| target | No | ||
| end_line | No | ||
| max_tokens | No | ||
| start_line | No |