broadcast_message
Send a message to all active Claude Code sessions about important events like PR merges, prompting them to pull the latest changes.
Instructions
Broadcast a message to all other active Claude Code sessions.
Use this to notify all other sessions about important events, like when a PR is merged to main.
Args: content: The message content to broadcast. source_task_id: Your current task ID (the sender). priority: Message priority: "normal", "high", or "urgent".
Returns: Result indicating how many sessions received the message.
Example: >>> broadcast_message("PR #123 merged to main, please pull latest", "task-a") SendMessageResult(success=True, delivered_to=["task-b", "task-c"], ...)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| priority | No | normal | |
| source_task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable status message | |
| success | Yes | Whether the message was sent | |
| message_id | No | ID of the sent message | |
| delivered_to | No | List of task IDs message was delivered to | |
| target_task_id | No | Target task ID |