update-tag
Update an existing tag in Inkdrop with its ID and the fields to change. Only the given fields are modified; the rest remain unchanged, saving you from reading the full tag first.
Instructions
Update the existing tag in the database. Only the fields you provide will be updated; omitted fields remain unchanged, so you do not need to read the tag first. Call list-tags or read-tag to find the tag ID.
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>"
},
"name": "update-tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | Yes | The unique document ID which should start with `tag:` and the remains are randomly generated string | |
| _rev | No | This is a CouchDB specific field. The current MVCC-token/revision of this document. Optional: the server merges your fields into the stored tag, so it is only needed as an optimistic-concurrency guard. Pass it when you have read the tag first and want the update to fail on a conflicting concurrent edit. | |
| name | No | The name of the tag | |
| color | No | The color type of the tag |