Check a GitHub repository for security issues
scan_repoUse this when the person wants a public GitHub repository checked for leaked secrets, vulnerable or malicious dependencies and risky code. No code is run. 3 free checks a day per account, then $1 when the check finishes; a failed check costs nothing. Do not use for websites (use scan_url) or private repositories.
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": {
"repo_url": "<repo_url>",
"idempotency_key": "<idempotency_key>"
},
"name": "scan_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch name. Default: the repository's default branch. | |
| language | No | The language the person is writing in, as a BCP 47 tag such as "ru". | |
| repo_url | Yes | A public GitHub repository, for example https://github.com/owner/repo | |
| idempotency_key | Yes | A unique string naming this check. Reuse it to collect the result or to retry; the same key is never charged twice. |