update_card
Patch a card. Set merge_properties=true to merge the properties map key-by-key instead of replacing it (Notion-shape fix from spec §8). Under merge, array-typed properties (multi_select / people / files / links per the board schema) element-UNION with the stored value (deduped by option id/name, user id, file id/url/name, or for links by url), so two agents appending concurrently never clobber each other (spec §7.3). A links value is an ordered list of {"url": "https://…", "title"?: "…", "kind"?: "gmail|drive|copper|slack|url|…"} (url must be http(s); deduped by url, case-sensitive). A people value is a list of user references, {"Reviewer": [{"id": "<user uuid>"}]} (a bare id string works too), stored as [{"object": "user", "id": …}]; each NEW id must be a member who can open this board (§7.1, any mode), else 400 validation_error. Per-key explicit removal: pass {"add": [...], "remove": [...]} as the property value (either key optional; {"remove": [...]} alone subtracts). Removes apply FIRST, then adds, so remove+add of the same identity in ONE write is the update idiom: {"remove": [{"url": X}], "add": [{"url": X, "title": "new"}]} atomically replaces that link's metadata. A bare re-add of an existing element (no matching remove) is a no-op; the stored form wins. Optional if_match enforces optimistic concurrency against the card's current etag. Pass the etag you read from the prior get_card / update_card response to fail fast (HTTP 412 etag_mismatch) if another writer changed the card in the meantime. Omit if_match for last-write-wins, which is the default agent behavior in v1 (spec §11.4 / NOV-103). Mirrors PATCH /v1/cards/{id}. The response carries a top-level unique_id: the resolved human key ("BUG-12"), or null when the board defines no unique_id property.
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": {
"card_id": "<card_id>"
},
"name": "update_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| labels | No | ||
| card_id | Yes | ||
| due_date | No | ||
| if_match | No | ||
| assignees | No | ||
| properties | No | ||
| is_archived | No | ||
| merge_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||