docker_stop_container
Stop a running Docker container by providing its container ID or name, with an optional timeout for forceful termination.
Instructions
Stop a Docker container
Args: container_id: Container ID or name timeout: Timeout in seconds before forcefully killing
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": {
"container_id": "<container_id>"
},
"name": "docker_stop_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |