worktree_status
Check worktree status to see if working directory is clean, commits ahead or behind master, and if ready for a pull request.
Instructions
Get the status of a worktree. Shows if working directory is clean, commits ahead/behind master, and if ready for PR.
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": {
"worktreePath": "<worktreePath>"
},
"name": "worktree_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worktreePath | Yes | Path to the worktree to check |