Skip to main content

tcb agent delete

v3.0.0+

tcb agent command has been available since v3.0.0.

Delete the Agent and its underlying SCF/Cloud Run resources (irreversible).

Usage​

tcb agent delete <agentId> [options]

Parameters​

ParameterDescription
-y, --yesSkip confirmation prompts (suitable for script/CI invocations)
-e, --env-id <envId>Environment ID
--dry-runPerform a dry run to preview the Agent and underlying resources to be deleted without actual execution

Examples​

# Delete Upon Interactive Confirmation
tcb agent delete agent-xxx -e my-env-id

# Preview resources to be deleted (without actual execution)
tcb agent delete agent-xxx --dry-run -e my-env-id

# Skip confirmation (for script scenarios)
tcb agent delete agent-xxx --yes -e my-env-id
Caution

Deleting the Agent will also clean up the underlying SCF resources. This operation cannot be undone. It is recommended to preview using --dry-run first.