typed
Find all usages of a Java type by category—fields, parameters, return types, local variables, resources, supertypes, method bodies, initializers, imports—and optionally include subtypes.
Instructions
Where a type is used, by kind: fields, parameters, return types, local variables, try-with-resources, supertype clauses, method bodies (new, casts, static calls) and imports.
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": {
"symbol": "<symbol>"
},
"name": "typed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items | |
| scope | No | Only results in this package (prefix or glob) or, with '/', source path glob | |
| offset | No | Items to skip | |
| symbol | Yes | A type, e.g. `EntityManager`, `Account` | |
| subtypes | No | Also uses of its subtypes (project and library ones, e.g. ConcurrentHashMap for Map) | |
| modifiers | No | Only uses whose declaration has all these modifiers, e.g. ['static'] with categories=['field'] | |
| categories | No | Only these kinds of use: field, parameter, return type, local variable, resource (try-with-resources), supertype, method body, initializer, import, other | |
| project_root | No | Checkout or worktree to query (any directory in it); default: where the server started |