Skip to main content

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

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.
Options: --url, -s, --server, -b, --bearer-env, -k, --api-key-env.

handler card validate

Validate an agent card from a URL, configured server, or local file.
Options: --url, --file, -s, --server, -b, --bearer-env, -k, --api-key-env.

handler message send

Send a message and receive a response.
Options: --url, -s, --server, -t, --text, --stream, --json, --context-id, --task-id, -C, --continue, --push-url, --push-token, -b, --bearer-env, -k, --api-key-env, -H, --header.

handler message stream

Send a message and stream the response in real time.
Options match message send, except --text is required and streaming is always enabled. Every task command accepts the task ID positionally or with --task. The two forms are equivalent; passing two different IDs is an error.

handler task get

Retrieve task status.
Options: [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.
Options: [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.
Options: --url, -s, --server, --task, --webhook-url, -t, --token, -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.
Clear all saved conversation state.

Server commands

handler server add

Add a server to the global or repo-scoped configuration.
Options include --url, --bearer-env, --api-key-env, --api-key-header, --cert, --key, --oauth2-token-url, --oauth2-client-id-env, --oauth2-client-secret-env, --oauth2-scope, --global, and --repository.

handler server list

List configured global and repo-scoped servers.

handler server show

Show details for a configured server.
Options: --source repository/global.

handler server remove

Remove a server from the configuration.
Options: --global, --repository.

handler server validate

Validate configured servers and default auth resolution.

handler server run push

Start a local webhook server for push notifications.

Interface and integration commands

handler mcp

Run a local MCP server exposing A2A protocol operations. Supports stdio, sse, and streamable-http.

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.