Sync push mirrors
sync_push_mirrorsTriggers an immediate push of a repository to all configured push mirrors instead of waiting for their intervals, overwriting remote-only branches and tags; confirm destructive impact first.
Instructions
Push a repository (owner/repo) to all of its push mirrors now, instead of waiting for their interval. Requires write mode. A mirror push makes each remote match this repository, so branches and tags that exist only on the remote are overwritten or deleted; that is why it is marked destructive. Answers {sync_requested: "owner/repo"} once the forge has queued the sync; the push itself runs in the background, so check each mirror's last sync time and error with list_push_mirrors afterwards.
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>"
},
"name": "sync_push_mirrors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner — user or organization. |