Beta

Manage scheduled automations

Usage: mf automations [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf automations listList automations (optionally filter by agent)
mf automations getShow a single automation (with recent runs)
mf automations createCreate a new automation
mf automations updateUpdate an existing automation
mf automations runTrigger an automation run now
mf automations deleteDelete an automation

mf automations list

List automations (optionally filter by agent)

Usage: mf automations list [options]

Aliases: ls

Options

OptionsPurpose
--agent-id <id>filter to this agent
--jsonemit raw JSON
-h, --helpdisplay help for command

mf automations get

Show a single automation (with recent runs)

Usage: mf automations get [options] <id>

Arguments

ArgumentPurpose
<id>

Options

OptionsPurpose
--jsonemit raw JSON (default)
-h, --helpdisplay help for command

mf automations create

Create a new automation

Usage: mf automations create [options]

Options

OptionsPurpose
--agent-id <id>agent id to run as (defaults to $MF_AGENT_ID)
--title <title>short title Required.
--prompt <prompt>prompt body Required.
--schedule-preset <preset>hourly | daily | weekdays | weekly | custom Required.
--rrule <rrule>RRULE string (iCalendar) Required.
--timezone <tz>IANA timezone (e.g. UTC) Required.
--dtstart <iso>first run start (ISO8601)
--model <model>model override
--jsonemit raw JSON
-h, --helpdisplay help for command

mf automations update

Update an existing automation

Usage: mf automations update [options] <id>

Arguments

ArgumentPurpose
<id>

Options

OptionsPurpose
--title <title>new title
--prompt <prompt>new prompt
--status <status>active | paused
--schedule-preset <preset>hourly | daily | weekdays | weekly | custom
--rrule <rrule>new RRULE
--timezone <tz>new IANA timezone
--dtstart <iso>new dtstart
--model <model>new model override
--clear-modelclear model override
--jsonemit raw JSON
-h, --helpdisplay help for command

mf automations run

Trigger an automation run now

Usage: mf automations run [options] <id>

Arguments

ArgumentPurpose
<id>

Options

OptionsPurpose
--jsonemit raw JSON
-h, --helpdisplay help for command

mf automations delete

Delete an automation

Usage: mf automations delete [options] <id>

Aliases: rm

Arguments

ArgumentPurpose
<id>

Options

OptionsPurpose
-y, --yesconfirm deletion
--jsonoutput the result as JSON
-h, --helpdisplay help for command
Was this page helpful?