Task Execution
emma_run_task
Execute a task on emma.The task description to execute. Be specific and clear.Examples:
"Post today's weather to Slack #general""Summarize the latest GitHub issues""Send a reminder email to the team about tomorrow's meeting"
Execution mode for the task.
| Value | Description |
|---|---|
normal | Standard execution (default) |
deep_thinking | Extended reasoning for complex tasks |
ask | Information gathering mode |
Timezone in IANA format (e.g.,
America/New_York, Europe/London).- Example Request
- Example Response
emma_health_check
Check emma API connection status. This tool takes no parameters.- Example Request
- Example Response
Automation Management
emma_create_automation
Create a new scheduled automation.Name for the automation.Examples:
"Daily Health Digest", "Weekly Report", "Hourly Status Check"The task prompt that emma will execute on schedule.
Cron expression defining the schedule.Common patterns:
| Expression | Description |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 9 * * 1 | Every Monday at 9:00 AM |
0 */2 * * * | Every 2 hours |
0 9 1 * * | First day of every month at 9:00 AM |
Timezone for the schedule in IANA format.
Whether the automation should be enabled immediately.
- Example Request
- Example Response
emma_list_automations
List all automations for the user.Timezone for displaying schedule times.
- Example Request
- Example Response
emma_get_automation
Get details of a specific automation.The automation ID (e.g.,
"sched_abc123").Timezone for displaying schedule times.
- Example Request
- Example Response
emma_update_automation
Update an existing automation. Only specified fields will be updated.The automation ID to update.
New name for the automation.
New task prompt.
New cron expression.
New timezone.
Enable or disable the automation.
- Example Request
- Example Response
emma_delete_automation
Delete an automation. This action cannot be undone.The automation ID to delete.
- Example Request
- Example Response
Cron Expression Reference
Cron expressions follow the standard 5-field format:Common Examples
| Expression | Description |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 9 * * 1-5 | Weekdays at 9:00 AM |
0 9 * * 0 | Every Sunday at 9:00 AM |
0 */2 * * * | Every 2 hours |
30 8 * * * | Every day at 8:30 AM |
0 9 1 * * | First day of month at 9:00 AM |
0 9 * * 1 | Every Monday at 9:00 AM |
0 0 * * * | Every day at midnight |
Special Characters
| Character | Description | Example |
|---|---|---|
* | Any value | * * * * * (every minute) |
, | List separator | 0 9,12,18 * * * (9 AM, 12 PM, 6 PM) |
- | Range | 0 9 * * 1-5 (Monday to Friday) |
/ | Step | */15 * * * * (every 15 minutes) |