Look up Handler commands
Handler’s command line is optimized for both humans and agents. Use text output interactively, JSON for scripts, and NDJSON for streaming event consumers.Global options
Without
-v or -d, Handler prints warnings and errors on stderr. Warnings
cover a card that routes requests to a different origin than the one you
configured and an agent that requires an extension you did not request.
Machine-readable metadata
Use these commands when generating wrappers, validating agent plans, or building docs from the installed CLI:Core commands
handler card get
Retrieve an agent’s card.
--url, -s, --server, --extended, -b, --bearer-env,
-k, --api-key-env.
handler card validate
Validate an agent card from a URL, configured server, or local file.
--url, --file, -s, --server, -b, --bearer-env, -k, --api-key-env.
handler message send
Send a message and receive a response.
http(s) URL by reference)
and structured data:
--url, -s, --server, -t, --text, -f, --file, --data,
--stream, --json, --context-id, --task-id, -C, --continue,
--accept, --history-length, --no-wait, --save-artifacts DIR, --push-url, --push-token,
-e, --extension, -b, --bearer-env, -k, --api-key-env, -H, --header.
--file, --data, --accept, --extension, and --header are repeatable.
--text is optional when a file or data part is attached. --no-wait and
--stream are mutually exclusive.
handler message stream
Send a message and stream the response in real time.
message send except that --stream and --no-wait do not
apply; streaming is always enabled.
Every task command that takes a task ID accepts it positionally or with
--task. The two forms are equivalent; passing two different IDs is an error.
handler task list
List the agent’s tasks, following pagination to the end.
--url, -s, --server, --context-id, --status, --page-size,
-n, --history-length, --include-artifacts, -b, --bearer-env,
-k, --api-key-env.
--status takes submitted, working, completed, failed, canceled,
input_required, rejected, or auth_required, with hyphens accepted.
--page-size must be between 1 and 100; every page is fetched regardless.
A listing cut short by a misbehaving server is marked truncated in all three
output formats.
handler task get
Retrieve task status.
[TASK_ID], --url, -s, --server, --task, -n, --history-length,
--params, -b, --bearer-env, -k, --api-key-env.
handler task cancel
Request cancellation of a task.
handler task resubscribe
Resubscribe to a task’s SSE stream after disconnection.
handler task notification get
Get the push notification configuration for a task. Without --config-id,
the task’s single config is used; a task with several configs needs one
named.
[TASK_ID], --url, -s, --server, --task, -c, --config-id, -b, --bearer-env, -k, --api-key-env.
handler task notification set
Configure a push notification webhook for a task.
--url, -s, --server, --task, --webhook-url, -t, --token,
-b, --bearer-env, -k, --api-key-env.
handler task notification list
List a task’s push notification configs, following pagination to the end.
Tokens are redacted in the output.
[TASK_ID], --url, -s, --server, --task, --page-size,
-b, --bearer-env, -k, --api-key-env.
handler task notification remove
Remove a push notification config from a task. The config is listed first,
so an ID that does not exist fails clearly.
[TASK_ID], --url, -s, --server, --task, -c, --config-id
(required), -b, --bearer-env, -k, --api-key-env.
Session commands
handler session list
List all saved conversation sessions.
handler session show
Display saved conversation state.
handler session clear
Clear saved conversation state for one agent.
Server commands
handler server add
Add a server to the global or repo-scoped configuration.
--url, --bearer-env, --basic-username,
--basic-password-env, --api-key-env, --api-key-header, --cert,
--key, --oauth2-token-url, --oauth2-client-id-env,
--oauth2-client-secret-env, --oauth2-scope, --oidc-issuer-url,
--oidc-client-id-env, --oidc-client-secret-env, --oidc-scope,
-H/--header (repeatable, Name: Value, sent on every request),
--global, and --repository. See Authentication
for the flags each scheme needs.
handler server list
List configured global and repo-scoped servers.
handler server show
Show details for a configured server.
--source repository/global.
handler server remove
Remove a server from the configuration.
--global, --repository.
handler server validate
Validate configured servers and default auth resolution.
handler server run push
Start a local webhook server for push notifications.
--host, --port, --token.
Interface and integration commands
handler mcp
Run a local MCP server exposing thirteen A2A tools for cards, messages,
tasks, push notifications, and sessions. Supports stdio, sse, and
streamable-http; see MCP server for the tool list.
handler tui
Launch the interactive terminal interface.
handler web
Serve the TUI as a web application.
handler docs
Open the Handler documentation in your browser.
handler version
Display the current version.
handler update
Update Handler to the latest published version.
handler upgrade
Alias for handler update.