get_systemd_unit_definition
Retrieve a systemd unit's definition over SSH, including its unit file, drop-ins, ExecStart, User, Environment, and output destination; secret-like values are redacted.
Instructions
How one unit is run (systemctl cat daemon): its unit file and drop-ins, with ExecStart=, User=, Environment= and where its output goes. Values that look like secrets are redacted.
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": {
"daemon": "<daemon>",
"host": "<host>",
"user": "<user>"
},
"name": "get_systemd_unit_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| daemon | Yes | ||
| timeout | No | ||
| key_path | No | ||
| password_env | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||