search_symbols

[symbols]

Searches TypeScript and JavaScript symbols by text.

Why this tool exists

JS/TS names repeat across packages, files, exports, type/value spaces, and generated declarations.

How it helps the agent

Symbol tools turn fuzzy names and cursor positions into stable identities for references, callers, exports, and refactors.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
querystringNoSymbol text to search.
limitnumberNoMaximum number of matching symbols to return.

Examples

Search for matching symbols

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_symbols",
    "arguments": {
      "query": "createClient"
    }
  }
}

Response Notes

Returns matching symbols with kind, file, location, and symbol keys.

↑/↓ NavigateEnter OpenSpace Expand