Droost: Find Symbol
droost_symbol Read-only
Module: Droost SearchLooks up an indexed symbol (class, method, function): file, signature, docblock. The precise companion to droost_search when you already know the name.
Example call
{
"tool": "droost_symbol",
"arguments": {
"name": "HandlerResolver"
}
}
Example response — captured live on this site
{
"success": true,
"message": "5 symbol(s) matching \"HandlerResolver\".",
"data": {
"name": "HandlerResolver",
"returned": 5,
"symbols": [
{
"fqcn": "Drupal\\droost_views\\HandlerResolver",
"kind": "class",
"file": "modules/contrib/droost/modules/droost_views/src/HandlerResolver.php",
"line": "22",
"module": "droost_views"
},
{
"fqcn": "Drupal\\droost_views\\HandlerResolver::__construct",
"kind": "method",
"file": "modules/contrib/droost/modules/droost_views/src/HandlerResolver.php",
"line": "24",
"module": "droost_views"
},
{
"fqcn": "Drupal\\droost_views\\HandlerResolver::baseTable",
"kind": "method",
"file": "modules/contrib/droost/modules/droost_views/src/HandlerResolver.php",
"line": "40",
"module": "droost_views"
},
{
"fqcn": "Drupal\\droost_views\\HandlerResolver::forBundle",
"kind": "method",
"file": "modules/contrib/droost/modules/droost_views/src/HandlerResolver.php",
"line": "65",
"module": "droost_views"
},
{
… (truncated — run it yourself for the rest)
Finds code symbols (classes, interfaces, traits, enums, functions, methods) by a substring of their fully-qualified name. Returns kind and file:line. Read-only.
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A substring of the symbol name, e.g. \"EntityType\" or \"::access\"."
},
"limit": {
"type": "integer",
"description": "Max results (default 20, max 100)."
}
},
"required": [
"name"
]
}
Droost