portainer_container_restart
Restart a container by specifying its ID or name, optionally targeting a specific endpoint for multi-environment management.
Instructions
Restart a container.
Args: container_id: Container ID or name endpoint_id: Target endpoint ID (uses default if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |