Patch a work card
project_card_patchUpdate card frontmatter fields with optimistic concurrency. Include expectedRevision from a prior read to prevent overwriting concurrent changes.
Instructions
Patch allowed card metadata using optimistic concurrency. Use expectedRevision whenever the card was read earlier. Declared axes go in changes.axes as { name: value }; an empty value clears one.
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>",
"changes": "<changes>"
},
"name": "project_card_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card to patch. | |
| changes | Yes | Frontmatter fields to overwrite, e.g. { priority: "high", tags: ["mcp"] }. Only the keys present are touched. Use project_card_transition for status and project_card_write for the body; declared axes go under an axes key. | |
| 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. |