Scan a repo for integration opportunities
scan_repoScan a local or GitHub repository for integration opportunities patchbay can build, such as stub webhook handlers, unused vendor SDKs, and TODO notes, returning a ranked list with ready-to-run prompts.
Instructions
Walk a repository (local directory or shallow-cloned GitHub URL) and report the integration opportunities patchbay could build: webhook handlers with TODO/empty bodies, .env.example entries pointing at vendor APIs with no implementation, TODO/FIXME comments mentioning vendors, and vendor SDKs imported but barely used. Understands TypeScript/JavaScript (Express/Next/Fastify routes) AND Python (FastAPI/Flask routes, pass bodies, raise NotImplementedError). Returns a ranked list, each item with a ready-to-run prompt the agent can hand straight to build_connector. Instant, free (no LLM / sandbox), auditable regex-only output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "scan_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a repo directory on disk, or a GitHub URL (https://github.com/<owner>/<repo> — shallow-cloned to a tempdir and scanned). | |
| topN | No | How many top-ranked opportunities to return. Default 15. |