watch_add
Add a Docker container, systemd unit, or PM2 app to the watch list so a separately installed supervisor can monitor it. Duplicate targets return added=false.
Instructions
Add a Docker container, systemd unit, or PM2 app to the watch list. This writes the list and nothing begins watching it — a supervisor has to be installed separately, which only the operator can do. Adding a target twice is reported as added=false rather than an error
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": "<container>"
},
"name": "watch_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What it is: docker, systemd, or pm2 (default docker) | |
| unit | No | Actual unit or app name when it differs from the name above (optional) | |
| server | No | Remote server name from config (optional, runs locally if omitted) | |
| container | Yes | Container, unit, or app name to watch |