Plan GitHub credential replacement
plan_github_credential_replacementBuild the replacement plan for swapping a deprecated GitHub OAuth credential to a GitHub App credential: which GitOps usages are eligible, which are blocked and why, and whether a repository sync is required first. Planning only - nothing changes until replace_github_credential applies the plan. Read-only.
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": {
"credential_id": "<credential_id>",
"target_credential_id": "<target_credential_id>"
},
"name": "plan_github_credential_replacement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credential_id | Yes | UUID of the source (deprecated) GitHub credential. | |
| usage_resource_ids | No | Optional subset of usage resource UUIDs to plan for; omit to plan every usage. | |
| target_credential_id | Yes | UUID of the target GitHub App credential. |