Agentic Data Plane

rpk ai mcp-server preview-tool-response

Preview data policies on a tool response.

This command was introduced in ai version 0.2.94.

Usage

rpk ai mcp-server preview-tool-response [flags]

Flags

Value Type Description

--name

string

Name. (required).

--tool

string

Tool. (required).

--sample-response

string

Sample response.

--sample-arguments

string

Sample arguments.

--draft-data-policies

stringArray

Draft data policies. (repeatable; protojson object; replaces the full list on update).

--has-draft

bool

Has draft. (true when set; pass --has-draft=false to disable).

-f, --filename

string

request as YAML or JSON, or - for stdin; flags override file values.

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.