applescript_execute
Execute AppleScript code to interact with Mac applications and system features, such as Notes, Calendar, Contacts, Messages, and Finder. Automate tasks, retrieve or modify data, and manage system information efficiently.
Instructions
Run AppleScript code to interact with Mac applications and system features. This tool can access and manipulate data in Notes, Calendar, Contacts, Messages, Mail, Finder, Safari, and other Apple applications. Common use cases include but not limited to: - Retrieve or create notes in Apple Notes - Access or add calendar events and appointments - List contacts or modify contact details - Search for and organize files using Spotlight or Finder - Get system information like battery status, disk space, or network details - Read or organize browser bookmarks or history - Access or send emails, messages, or other communications - Read, write, or manage file contents - Execute shell commands and capture the output
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code_snippet | Yes | Multi-line appleScript code to execute | |
timeout | No | Command execution timeout in seconds (default: 60) |