Patch a work card
project_card_patchUpdate specific frontmatter fields on a project card using optimistic concurrency, refusing writes when the expected revision no longer matches to prevent overwriting concurrent edits.
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.
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. |