outline
Lists nested definitions in a Java source file with line numbers and signatures for quick code navigation.
Instructions
Definitions in a file (like documentSymbol), nested, with line and signature.
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": {
"file": "<file>"
},
"name": "outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Source path (relative to the project root or absolute), or a type name | |
| limit | No | Max items | |
| offset | No | Items to skip | |
| project_root | No | Checkout or worktree to query (any directory in it); default: where the server started |