Create a new design token
registry_create_tokenRegister a new design token with required id, name, category, and value. Fails on duplicate IDs, signaling the need to update the existing token instead.
Instructions
Register a brand-new design token. Fails with DUPLICATE_ID if the id already exists — use registry_update_token instead.
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": "<name>",
"category": "<category>",
"value": "<value>"
},
"name": "registry_create_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| type | No | ||
| usage | No | ||
| value | Yes | ||
| source | No | ||
| aliases | No | ||
| category | Yes | ||
| description | No |