MCP Tool

search_symbol

Find where a function or class lives.

Parameters

NameTypeRequiredDescription
namestringYesSymbol name (case-insensitive substring match)

Sample call

json
{ "name": "validateJWT" }

Sample output

bash
validateJWT, src/auth/login.ts line 6 (function)

Cost

~30 tokens per response. Among the cheapest tools, call freely.

When to call

  • "Where is function X?"
  • "Show me the class Foo"
  • Disambiguating between similarly-named symbols