reset_branch
Reset a branch to a specific commit. Select soft or hard mode, and force the reset when required.
Instructions
Сбросить ветку до указанного коммита.
Args:
project_uuid: UUID проекта.
schema_uuid: UUID схемы.
branch_name: Ветка (по умолчанию main).
target_commit_id: Числовой ID целевого коммита.
target_commit_uuid: UUID целевого коммита.
mode: Режим сброса: soft или hard.
force: Принудительный сброс.
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": {
"project_uuid": "<project_uuid>",
"schema_uuid": "<schema_uuid>"
},
"name": "reset_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | soft | |
| force | No | ||
| branch_name | No | main | |
| schema_uuid | Yes | ||
| project_uuid | Yes | ||
| target_commit_id | No | ||
| target_commit_uuid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |