rollback_branch
Rewrite a branch to a previous state by specifying an operation ID, enabling recovery from inconsistent edits introduced during LLM-assisted writing.
Instructions
[branch] ブランチを過去の操作IDまで巻き戻す。操作ログは不変なので巻き戻しの巻き戻しも可能。 LLMの一連の編集で矛盾が入った時の安全網。
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": {
"branch": "<branch>",
"to_op": "<to_op>"
},
"name": "rollback_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_op | Yes | ||
| branch | Yes |