rename_token
Rename design tokens by moving them to a new path and automatically update all references to maintain dependent token resolution.
Instructions
Stage a token rename. Moves a token from one path to another. By default also rewrites every other token's value reference from {from} to {to} so dependent tokens keep resolving — pass updateReferences: false to disable.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "rename_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| set | No | ||
| from | Yes | ||
| updateReferences | No |