Replace a card body
project_card_writeReplace the Markdown body of a project card with revision control, refusing writes when revisions mismatch to prevent overwriting concurrent edits.
Instructions
Replace the Markdown body of a card under the protocol's lock and revision check. Use project_card_note to append instead.
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>",
"body": "<body>"
},
"name": "project_card_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card whose body is being replaced. | |
| body | Yes | The complete new Markdown body. This overwrites, so read the card first unless you intend to discard what is there. | |
| 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. |