Prepare a repository patch
prepare_repositoryInspect a repository at a pinned GitHub revision before applying changes; get exact proposed file diffs, preservation warnings, and an approval digest with no external writes.
Instructions
Free owner-authenticated inspection at a pinned GitHub revision. Returns exact proposed file diffs, preservation warnings and approval digest. No external writes.
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": {
"server_id": "<server_id>",
"github_connection": "<github_connection>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | ||
| idempotency_key | Yes | Unique operation key; reuse with identical input for retries. | |
| github_connection | Yes |