Claim a work card
project_card_claimClaim a work card to take ownership, move it to 'doing,' and optionally specify affected files. Prevents conflicting edits by refusing claims from other actors unless forced.
Instructions
Claim a card for an actor, move it to doing and optionally declare the filesystem scope that will be changed. Claim before editing anything the card covers; another actor's claim is refused unless forced.
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": {
"id": "<id>",
"actor": "<actor>"
},
"name": "project_card_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card to claim, e.g. T-0042. | |
| actor | Yes | Who is claiming. Defaults to the MCP client's own name; a hand-typed value will not match the identity the edit guard sees. | |
| force | No | Take a claim another actor already holds. Requires reason. | |
| scope | No | Repository paths this claim covers. Overlapping scopes are what stop two agents editing the same files. | |
| reason | No | Why the existing claim is being taken over. Recorded on the card. | |
| expectedRevision | No | Revision string from an earlier read of this record. The write is refused if it no longer matches, so a concurrent edit is reported rather than overwritten. Omit to skip the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | A canonical record with its body, revision and reference graph. | |
| warnings | No | Non-fatal findings, such as a stale claim that was taken over. |