worktree::claim
Claim a worktree for a session. Fails with W210 when another session holds it, unless force is set.
- forceboolean
Take the claim even when another session holds it.
- session_idstringrequired
The claiming session.
- worktree_idstringrequired
The worktree to claim.
- claimedbooleanrequired
True when the claim is now held by `session_id`.
- previous_session_idstring
The session that held the claim before, when taken over with force.
- session_idstringrequired
The claiming session.
- worktree_idstringrequired
The claimed worktree.