trinity_worker_daemon
Control a local background worker for an agent: check its status, start to drain the queue, or stop to terminate it.
Instructions
Start, stop, or check the local background worker process for one agent. Use status for a process check, start to keep an agent queue draining, and stop to terminate that daemon. Start and stop modify local process state and PID files; responses include running, started, stopped, pid, and pid_file fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent id whose worker daemon should be controlled. | |
| action | Yes | Daemon action: status checks process state, start launches, stop terminates. |