find_symbol
Locate where a function, class, type, or constant is defined by listing files that export the given symbol name; supports wildcard searches for codebase navigation.
Instructions
Where is symbol X defined? Lists the files that export a function, class, type or constant by that name.
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": {
"name": "<name>"
},
"name": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name (PHP: short or namespace-qualified); % is a wildcard | |
| absolute_paths | No | Print absolute paths |