Agentic Data Plane
Preview

rpk ai agent a2a task cancel

Ask the agent to cancel a running task and print the task’s resulting state. Cancellation is cooperative; the agent may already have finished, in which case the terminal state is returned unchanged.

Usage

rpk ai agent a2a task cancel [flags]

Examples

This section provides examples of how to use rpk ai agent a2a task cancel.

rpk ai agent a2a task cancel financial-advisor TASK_ID

Flags

Value Type Description

--timeout

duration

abort the call after this long (0 to wait forever).

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.