list_branches
List branches. Branches with head_sha.Read only: changes nothing. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaGET /scripts/{script_id}/repo/branches da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
create_branch
Create branch. Creates a branch from a commit (default: head of main).Writes or changes script data. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/repo/branches da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
compare_branches
Compare. Shows what would change and whether merging source into target conflicts (writes nothing).Read only: changes nothing. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/studio/merge da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
merge_branch
Merge. Merges source into target. Stops on conflict.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/studio/merge da API do Scripts. The response includes text and structuredContent, with secrets removed.

