Find a symbol
angelscript_find_symbolLocate AngelScript classes, functions, methods, fields, and enums by name or qualified path across workspace scripts and host stubs, returning declarations, signatures, and optional source bodies.
Instructions
Find classes, functions, methods, fields and enums by name across the workspace scripts and the host stubs. Accepts a name or part of one ('Tick'), or a qualified path ('Player::Tick'). Returns where each is declared with its signature. Set include_body to read the source of script declarations. Prefer this to grepping when you know a symbol 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_path": "<name_path>"
},
"name": "angelscript_find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Keep only these kinds of symbol. | |
| limit | No | Maximum symbols to return. | |
| scope | No | 'scripts' excludes the host stubs, 'host' only searches them. | all |
| offset | No | Symbols to skip, for paging. | |
| name_path | Yes | Symbol name or qualified path such as 'Namespace::Class::method'. | |
| include_body | No | Include the source of each script declaration (host stubs are skipped). | |
| response_format | No | 'markdown' (default) is compact text for reading. 'json' returns structured data. | markdown |