n2_work_claim
Claim file ownership before modifying a file to prevent edit collisions with other agents and record the intended change.
Instructions
Claim file ownership before modifying. Prevents collision with other agents.
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": "<project>",
"agent": "<agent>",
"filePath": "<filePath>",
"intent": "<intent>"
},
"name": "n2_work_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent name | |
| intent | Yes | Why you are modifying this file | |
| project | Yes | Project name | |
| filePath | Yes | File path relative to project root |