unit_file
Retrieve the read-only systemd unit file text as systemctl cat prints it, redacted and capped at 65536 bytes with truncation noted.
Instructions
The unit file text as systemctl cat prints it. Read-only.
Redacted, and capped at 65536 bytes; a cut ends in [TRUNCATED] and sets truncated to true.
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": {
"unit": "<unit>",
"scope": "<scope>"
},
"name": "unit_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| scope | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| unit | Yes | ||
| scope | Yes | ||
| truncated | Yes |