runrunit_create_task_branch
Plan or create a git branch named task_[number] for a Runrun.it task. Set approved to execute; it never commits.
Instructions
Plans or creates only the branch task_[número]. Default is plan (no checkout). Pass approved:true after the user accepts the plan. Does not commit. If includes_commit is true, next_tool is runrunit_commit_per_file.
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_root": "<project_root>"
},
"name": "runrunit_create_task_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | Task number, or task_[número]. Used in branch names and commit subjects. | |
| approved | No | Default false. When false or omitted, returns a plan and does not change git. Set true only after the user approves that plan. | |
| project_root | Yes | Absolute path of the git repository. Required for tools that read or write that repo. | |
| includes_commit | No | When true, next_tool is runrunit_commit_per_file. This tool still does not commit. |