Beta

Manage scheduled automations

用法: mf automations [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
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)

用法: mf automations list [options]

Alias: ls

Option

Option用途
--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)

用法: mf automations get [options] <id>

Argument

参数用途
<id>

Option

Option用途
--jsonemit raw JSON (default)
-h, --helpdisplay help for command

mf automations create

Create a new automation

用法: mf automations create [options]

Option

Option用途
--agent-id <id>agent id to run as (defaults to $MF_AGENT_ID)
--title <title>short title 必填。
--prompt <prompt>prompt body 必填。
--schedule-preset <preset>hourly | daily | weekdays | weekly | custom 必填。
--rrule <rrule>RRULE string (iCalendar) 必填。
--timezone <tz>IANA timezone (e.g. UTC) 必填。
--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

用法: mf automations update [options] <id>

Argument

参数用途
<id>

Option

Option用途
--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

用法: mf automations run [options] <id>

Argument

参数用途
<id>

Option

Option用途
--jsonemit raw JSON
-h, --helpdisplay help for command

mf automations delete

Delete an automation

用法: mf automations delete [options] <id>

Alias: rm

Argument

参数用途
<id>

Option

Option用途
-y, --yesconfirm deletion
--jsonoutput the result as JSON
-h, --helpdisplay help for command
这个页面有帮助吗?