{
"name": "update_token",
"description": "Update a token",
"inputSchema": {
"type": "object",
"properties": {
"tokenset_id": {
"type": "string",
"description": "The ID of the tokenset"
},
"mode_id": {
"type": "string",
"description": "The ID of the mode"
},
"token_id": {
"type": "string",
"description": "The ID of the token to update"
},
"name": {
"type": "string",
"minLength": 1,
"description": "The new name of the token"
},
"type": {
"type": "string",
"enum": [
"color", "dimension", "fontFamily", "fontWeight", "fontSize",
"lineHeight", "letterSpacing", "duration", "cubicBezier",
"number", "strokeStyle", "border", "transition", "shadow",
"gradient", "typography", "string", "boolean"
],
"description": "The new type of the token"
},
"value": {
"type": "string",
"description": "The new value of the token"
},
"description": {
"type": "string",
"description": "The new description of the token"
},
"alias_to": {
"type": "string",
"description": "The new alias target"
}
},
"required": ["tokenset_id", "mode_id", "token_id"]
}
}