writ_github_set_threshold
Sets a per-installation check-run threshold: the GitHub check run fails when the ungated-site count exceeds N, and omitting the threshold clears the override.
Instructions
Set the per-installation check-run fail threshold.
A positive number N makes the GitHub check run fail when the ungated-site count is greater than N; a zero-ungated scan passes. Omit threshold (or set it to None) to clear the override and restore neutral-only check runs.
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": {
"installation_id": "<installation_id>"
},
"name": "writ_github_set_threshold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | ||
| installation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |