notify: { description: "Send a system notification to the user. Use this to alert the user about important events that require their attention, such as long-running task completion, errors requiring intervention, or questions. " + "Notifications appear as OS-native notifications (macOS Notification Center, Windows Toast, Linux). " + "Infer whether to send notifications from user instructions. If no instructions provided, reserve notifications for major wins or blocking issues. Do not use for routine status updates (use status_set instead).", schema: z .object({ title: z .string() .min(1) .max(64) .describe("Short notification title (max 64 chars). Should be concise and actionable."), message: z .string() .max(200) .nullish() .describe( "Optional notification body with more details (max 200 chars). " + "Keep it brief - users may only see a preview." ), }) .strict(), },