search_by_kind
[symbols]
Searches symbols by TypeScript syntax kind.
Try it locally in the TGlider playground
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| kind | string | Yes | TypeScript symbol or declaration kind. |
| query | string | No | Optional symbol text filter. |
| matchMode | string | No | Name match mode: 'exact', 'prefix', or 'contains'. Default: exact matches win when they exist, otherwise contains. |
| limit | number | No | Maximum number of matching symbols to return. Default: 100 |
Examples
Replace sample paths and symbol keys with values from your workspace.
List classes matching a name
Arguments
{
"kind": "ClassDeclaration",
"query": "Service"
}Full MCP request
Full MCP request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_by_kind",
"arguments": {
"kind": "ClassDeclaration",
"query": "Service"
}
}
}Response Notes
Returns matching declarations with stable symbol keys and truncation/suppression reporting (totalMatches, truncated, appliedMatchMode, suppressedMatches, notes).