delete_token
Permanently deletes a design token from a specific mode.Tool Schema
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenset_id | string | Yes | The ID of the tokenset containing the token |
mode_id | string | Yes | The ID of the mode containing the token |
token_id | string | Yes | The ID of the token to delete |
Response
Example Usage in Claude
Delete a Token
Confirm Deletion
Common Use Cases
1. Token Cleanup
2. Brand Changes
3. System Simplification
Warnings
⚠️ Destructive Action: This operation cannot be undone. When you delete a token, consider:- Is this token referenced by aliases in other tokens?
- Is this token used in exported designs or code?
- Will this break any existing implementations?
Best Practices
- Check dependencies: Search for tokens that might reference this one
- Export backup: Consider exporting before deletion
- Team communication: Notify team members before deleting shared tokens
- Gradual removal: Mark as deprecated first, then delete later
Notes
- This action is permanent and cannot be reversed
- Only deletes the token from the specific mode (other modes keep their versions)
- Token IDs are not reusable after deletion
- Aliases pointing to this token will need to be updated
Mode-Specific Deletion
Tokens are mode-specific, so deleting a token from one mode doesn’t affect:- The same token name in other modes
- Other tokens in the same mode
- The token structure or relationships
See Also
- list_tokens_by_mode - View tokens before deletion
- get_token - Check token details
- search_tokens - Find references to this token
- export_mode - Export tokens before deletion