Browse documentation

search_symbols

[symbols]

Searches TypeScript and JavaScript symbols by text.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
querystringNoSymbol text to search. Default: ""
matchModestringNoName match mode: 'exact', 'prefix', or 'contains'. Default: exact matches win when they exist, otherwise contains.
limitnumberNoMaximum number of matching symbols to return. Default: 100

Examples

Replace sample paths and symbol keys with values from your workspace.

Search for matching symbols

Arguments
{
  "query": "createClient"
}
Full MCP request
Full MCP 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, symbol keys, and truncation/suppression reporting (totalMatches, truncated, appliedMatchMode, suppressedMatches, notes).