github_secret_scanning_update_repo_custom_pattern
Updates a repository's custom secret scanning pattern to modify detection rules for sensitive data, using owner, repo, and pattern ID to target the change.
Instructions
Update a repository custom pattern
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": {
"owner": "<owner>",
"repo": "<repo>",
"pattern_id": "<pattern_id>"
},
"name": "github_secret_scanning_update_repo_custom_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| pattern_id | Yes | pattern_id |