Skip to main content

update_mode

Updates the name or default status of an existing mode.

Tool Schema

Parameters

Response

Example Usage in Claude

Update Mode Name

Change Default Mode

Update Both Name and Default Status

Common Use Cases

1. Better Naming

2. Theme Switching

3. Reorganization

Default Mode Behavior

  • Setting is_default: true will automatically change any other default mode to non-default
  • Each tokenset can have only one default mode
  • The default mode is used when no specific mode is requested
  • You cannot remove the default status from a mode if it’s the only mode in the tokenset

Notes

  • At least one of name or is_default must be provided
  • Mode names must be unique within their tokenset
  • The updated_at timestamp will be automatically updated
  • All existing tokens within the mode remain unchanged

See Also