find_code

[symbols]

Ranks semantic TypeScript and JavaScript symbol matches and suggests follow-up tools.

Why this tool exists

Agents often know the navigation intent before they know the exact lower-level TGlider tool.

How it helps the agent

It is the semantic front door for JS/TS work: the model can ask by meaning and then follow suggested tools.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
querystringYesSymbol or code concept to find.
intentstringNoNavigation intent: 'navigate', 'understand', 'refactor', or 'api'.
kindstringNoOptional TypeScript symbol kind filter.
projectNamestringNoOptional loaded project name to scope the query.
filePathstringNoWorkspace-relative or absolute file path.
exportedOnlybooleanNoReturn only exported symbols.
skipnumberNoNumber of matching results to skip.
takenumberNoMaximum number of matching results to return.

Examples

Find a component or service by name

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_code",
    "arguments": {
      "query": "UserService",
      "intent": "understand"
    }
  }
}

Response Notes

Returns ranked symbol matches with stable keys, spans, export metadata, and next-tool suggestions.

↑/↓ NavigateEnter OpenSpace Expand