rohit-sahoo
Code search agent v2 β€” artifacts-driven pydantic-ai backend + AKD guardrails
00537c6
|
Raw
History Blame Contribute Delete
1.22 kB

code_signals_search_tool β€” Input / Output

Searches LLM-extracted code signals from GitHub repositories. This tool is the Step 4 fallback when README/SDE context is insufficient to judge relevance.

Inputs

Param Type Required Default Range Meaning
query string yes β€” β€” Search query for code functionality.
limit integer no 5 1–6 Maximum results to return.
page integer no 1 β‰₯ 1 Pagination.

Output

Returns an object with:

  • results β€” list of code-signal hits; each hit contains:
    • title β€” repository id / name
    • repo_url β€” GitHub repository URL
    • repo_id β€” repository identifier
    • content β€” extracted "Code Summary" (function names, class names, imports, data formats, code summaries)
    • score β€” relevance score
    • query β€” echo of the query

Usage constraints (verbatim from the source prompt)

  • Use only when README and SDE context are insufficient to determine relevance.
  • Reference file paths or function names; do not include full code excerpts.
  • Read-only inspection β€” no execution, cloning, downloading, or testing (see guardrails/read-only-no-execution.md).