MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / search

Function search

plugin/skills/coderlm/scripts/coderlm_cli.py:417–425  ·  view source on GitHub ↗

Find symbols by name. Returns list of symbol dicts.

(query: str, limit: int = 20, file: str | None = None)

Source from the content-addressed store, hash-verified

415
416
417def search(query: str, limit: int = 20, file: str | None = None):
418 """Find symbols by name. Returns list of symbol dicts."""
419 state = _load_state()
420 params = {"q": query, "limit": limit}
421 if file:
422 params["file"] = file
423 result = _safe_get(state, "/symbols/search", params)
424 print(json.dumps(result, indent=2))
425 return result
426
427
428def impl_(symbol: str, file: str):

Callers

nothing calls this directly

Calls 2

_load_stateFunction · 0.85
_safe_getFunction · 0.85

Tested by

no test coverage detected