bulk_rename_tokens
Rename design tokens in bulk using exact paths or wildcard patterns, optionally applying changes to live Figma nodes or staging edits in files.
Instructions
Rename tokens by exact path or wildcard pattern, in two scopes: live (rewrite applied references on Figma nodes via apply_token_remap) and/or files (stage rename_token edits on the catalog working copy). scope: "both" (default) does both. dryRun: true returns counts without modifying anything. Pattern syntax: * captures one path segment, referenced as $1 in replacement (e.g. colors.brand.* → color.accent.$1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| rules | Yes | ||
| scope | No | ||
| dryRun | No | ||
| nodeId | No | ||
| fileKey | No |