set_slack_preferences
Adjust Slack DM preferences across workspaces: mute notifications for a duration, toggle specific event alerts (new pins, mentions), and set quiet hours or delivery cadence.
Instructions
Read or update the caller's Slack DM preferences. Resolves the user via license_key → email, then applies the change across every Slack workspace the email is linked to. Call with no args to see current state. Call with mute: "1h" (or "today", "forever", "off") to silence DMs for a window. Call with eventNewPin: false (or any event_* flag) to toggle individual event types off. Same surface as the App Home toggles and /pincushion mute, accessible from the agent — useful for "mute pin DMs during this refactor" workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mute | No | Friendly mute alias. "off" unmutes. | |
| timezone | No | IANA timezone (e.g. America/Los_Angeles) for quiet hours. | |
| digestMode | No | Delivery cadence. "instant" is the default; "hourly" and "daily" are reserved for a future digest implementation. | |
| mutedUntil | No | Alternative to `mute`: ISO timestamp until which DMs are silenced, or null to unmute. | |
| eventNewPin | No | DM on new pins. | |
| eventMention | No | DM on @-mentions of you. | |
| eventFollowUp | No | DM on replies in threads you authored or commented on. | |
| eventPinReady | No | DM on pins marked ready for implementation. | |
| eventResolved | No | DM on resolved pins. | |
| quietHoursEnd | No | Quiet-hours end hour (0-23) in `timezone`. | |
| quietHoursStart | No | Quiet-hours start hour (0-23) in `timezone`. |