portainer_container_stop
Stop a running container using its container ID or name. Optionally target a specific endpoint by providing the endpoint ID.
Instructions
Stop a running 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 |