Delete pod
delete_podDelete a specific pod. If managed by a controller (Deployment, StatefulSet, etc.), a new pod will be created automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"pod_name": "<pod_name>",
"cluster_id": "<cluster_id>"
},
"name": "delete_pod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, preview the change without executing it. | |
| pod_name | Yes | Name of the pod to delete. | |
| namespace | Yes | Kubernetes namespace where the pod is located. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| grace_period_seconds | No | Grace period for pod termination in seconds. |