agent_claim
Prevent conflicts by claiming a file, function, task, or feature for exclusive editing. Specify the target and your intent to obtain a claim ID for later release.
Instructions
Claim a file, function, task, or feature for exclusive editing. Conflict detection prevents two agents from claiming the same target simultaneously. Requires targetId (file path or task ID) and intent (natural language description of what you plan to do). Returns a claimId — save it for the matching agent_release call. claimType: task | file | function | feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | Target file path or task ID to claim | |
| claimType | No | Claim target type | task |
| intent | Yes | Natural language intent | |
| taskId | No | Related task id | |
| agentId | No | Agent identifier | |
| sessionId | No | Session identifier | |
| profile | No | Response profile | compact |