stop_container
Stop a running Docker container by specifying its ID or name. This tool helps manage container lifecycle through the VPS MCP Server's Portainer API integration.
Instructions
Stop a running container
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": {
"id": "<id>"
},
"name": "stop_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Container ID or name | |
| timeout | No | Seconds to wait before killing the container |