portainer_container_restart
Restart a container by providing its ID or name, with an optional endpoint ID to specify the Portainer endpoint.
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 |