agy_merge
Commit a worktree worker's changes and merge them into the checked-out branch, refusing if the target is dirty or secrets or conflicts are detected.
Instructions
Commit a worktree worker's changes and merge into the checked-out branch. Refuses on dirty target, secrets or conflicts.
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": {
"agent_id": "<agent_id>"
},
"name": "agy_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| agent_id | Yes | Agent id. | |
| strategy | No | ||
| target_branch | No | Must be the checked-out branch. |