record_security_audit
Record that a Git repository was security-audited at a specific commit to track coverage. Stores the repo path and audited commit SHA for later checks.
Instructions
Record that a repository was security-audited at a given commit.
Parameters: repo_root: Absolute path to an existing directory containing the git repo. sha: Optional 4-64 hex-character commit id. Defaults to HEAD.
Returns:
On success, {"ok": True, "repo_root": ..., "last_audited_sha": ..., "last_audited_at": ...}. On failure, {"ok": False, "error": ...}.
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_root": "<repo_root>"
},
"name": "record_security_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | ||
| repo_root | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||