restart_pod
Delete a Kubernetes pod to force restart via Deployment or ReplicaSet. Use dryRun to preview changes before executing.
Instructions
WRITE ACTION — This modifies cluster state. Deletes the specified pod, which triggers automatic recreation if the pod is managed by a Deployment or ReplicaSet. Always confirm with the user before calling this. Use dryRun=true (default) to preview the action without executing it.
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": {
"podName": "<podName>"
},
"name": "restart_pod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), preview the action without executing it. Set to false only after the user confirms. | |
| podName | Yes | Name of the pod to restart. | |
| namespace | No | Kubernetes namespace. Defaults to "default". |