{
"name": "create_token",
"description": "Create a new token in a mode",
"inputSchema": {
"type": "object",
"properties": {
"tokenset_id": {
"type": "string",
"description": "The ID of the tokenset"
},
"mode_id": {
"type": "string",
"description": "The ID of the mode"
},
"name": {
"type": "string",
"minLength": 1,
"description": "The 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 type of the token"
},
"value": {
"type": "string",
"description": "The value of the token"
},
"description": {
"type": "string",
"description": "Optional description of the token"
},
"alias_to": {
"type": "string",
"description": "Optional token name to alias to"
}
},
"required": ["tokenset_id", "mode_id", "name", "type", "value"]
}
}