set_card_specific_values
Modify specific properties of an Anki card by setting new values for selected keys, such as due date, interval, or queue status, using the card ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cardId | Yes | Card ID to modify | |
keys | Yes | Array of card property keys to modify | |
newValues | Yes | Array of new values (must match the length of keys) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cardId": {
"description": "Card ID to modify",
"type": "number"
},
"keys": {
"description": "Array of card property keys to modify",
"items": {
"enum": [
"data",
"did",
"due",
"factor",
"flags",
"id",
"ivl",
"lapses",
"left",
"mod",
"odid",
"odue",
"ord",
"queue",
"reps",
"type",
"usn"
],
"type": "string"
},
"type": "array"
},
"newValues": {
"description": "Array of new values (must match the length of keys)",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"cardId",
"keys",
"newValues"
],
"type": "object"
}