Beta

Talk to A2A servers and manage this agent exposure and callers

用法: mf a2a [command]

Option

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

Subcommand

命令用途
mf a2a exposureManage this agent’s hosted A2A exposure
mf a2a callersManage callers authorized to invoke this agent
mf a2a cardFetch and print an Agent Card
mf a2a statusShow callable peers and in-flight outbound calls
mf a2a sendSend a message to a granted peer (name/id from mf a2a status) or a raw A2A url
mf a2a tasksTrack A2A tasks

mf a2a exposure

Manage this agent’s hosted A2A exposure

用法: mf a2a exposure [command]

Option

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

Subcommand

命令用途
mf a2a exposure getShow hosted A2A exposure and public endpoints
mf a2a exposure enableExpose this agent as an A2A server
mf a2a exposure disableStop exposing this agent as an A2A server

mf a2a exposure get

Show hosted A2A exposure and public endpoints

用法: mf a2a exposure get [options]

Option

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

mf a2a exposure enable

Expose this agent as an A2A server

用法: mf a2a exposure enable [options]

Option

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

mf a2a exposure disable

Stop exposing this agent as an A2A server

用法: mf a2a exposure disable [options]

Option

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

mf a2a callers

Manage callers authorized to invoke this agent

用法: mf a2a callers [command]

Option

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

Subcommand

命令用途
mf a2a callers listList peer and external callers
mf a2a callers addAdd an external client or peer agent caller
mf a2a callers revokeRevoke an A2A caller grant

mf a2a callers list

List peer and external callers

用法: mf a2a callers list [options]

Option

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

mf a2a callers add

Add an external client or peer agent caller

用法: mf a2a callers add [options]

Option

Option用途
--externalcreate an External client bearer
--caller-agent-id <id>authorize a Manyfold peer agent
--name <name>External client label
--expires-in-days <days>positive integer; omit for no expiry
--replace-existingreplace an existing grant for the peer agent
--jsonemit JSON (includes a new External client token)
-h, --helpdisplay help for command

mf a2a callers revoke

Revoke an A2A caller grant

用法: mf a2a callers revoke [options] <tokenId>

Argument

参数用途
<tokenId>

Option

Option用途
-y, --yesconfirm revocation
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a card

Fetch and print an Agent Card

用法: mf a2a card [options] <url>

Argument

参数用途
<url>

Option

Option用途
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a status

Show callable peers and in-flight outbound calls

用法: mf a2a status [options]

Option

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

mf a2a send

Send a message to a granted peer (name/id from mf a2a status) or a raw A2A url

用法: mf a2a send [options] <target> <prompt>

Argument

参数用途
<target>
<prompt>

Option

Option用途
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
--context-id <id>reuse an A2A context (conversation)
--task-id <id>continue an existing task
--skill <id>select a remote skill by id
--input-file <path>attach a file as an A2A file part
--streamstream status + artifact chunks (SSE)
--asyncsubmit and return a task id immediately (poll with mf a2a tasks get)
--timeout <seconds>client deadline in seconds (0 disables; default 900)
-h, --helpdisplay help for command

mf a2a tasks

Track A2A tasks

用法: mf a2a tasks [command]

Option

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

Subcommand

命令用途
mf a2a tasks listList this agent’s outbound A2A calls
mf a2a tasks getFetch a task by id (target = peer name/id or url)
mf a2a tasks cancelCancel a task by id
mf a2a tasks subscribeResubscribe to a task SSE stream (reconnect)

mf a2a tasks list

List this agent’s outbound A2A calls

用法: mf a2a tasks list [options]

Option

Option用途
--state <state>filter by state (e.g. working)
--peer <agentId>filter by peer (target agent id)
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a tasks get

Fetch a task by id (target = peer name/id or url)

用法: mf a2a tasks get [options] <target> <taskId>

Argument

参数用途
<target>
<taskId>

Option

Option用途
--waitpoll until the task reaches a terminal state
--timeout <seconds>deadline for —wait (0 disables; default 900)
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a tasks cancel

Cancel a task by id

用法: mf a2a tasks cancel [options] <target> <taskId>

Argument

参数用途
<target>
<taskId>

Option

Option用途
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a tasks subscribe

Resubscribe to a task SSE stream (reconnect)

用法: mf a2a tasks subscribe [options] <target> <taskId>

Argument

参数用途
<target>
<taskId>

Option

Option用途
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command
这个页面有帮助吗?