Skip to main content

delete_token

Permanently deletes a design token from a specific mode.

Tool Schema

Parameters

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

  1. Check dependencies: Search for tokens that might reference this one
  2. Export backup: Consider exporting before deletion
  3. Team communication: Notify team members before deleting shared tokens
  4. 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