fork_branch
Create a new branch from a source branch in a Structly project, optionally overwriting the target or making it the default branch.
Instructions
Создать ветку из другой ветки (fork) в проекте.
Args:
project_uuid: UUID проекта.
source_branch: Ветка-источник.
target_branch: Целевая (новая) ветка.
create_target_if_missing: Создать целевую ветку, если её нет.
overwrite_target: Перезаписать целевую ветку, если она существует.
is_default: Сделать ветку веткой по умолчанию.
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>",
"source_branch": "<source_branch>",
"target_branch": "<target_branch>"
},
"name": "fork_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_default | No | ||
| project_uuid | Yes | ||
| source_branch | Yes | ||
| target_branch | Yes | ||
| overwrite_target | No | ||
| create_target_if_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |