system/os-release
Retrieve Linux distribution and kernel version from /etc/os-release and uname; read-only output helps identify the running OS for diagnostics or automation.
Instructions
Returns the Linux distribution and kernel version: the contents of /etc/os-release plus the uname line (system, host name, release, version, machine). Read-only. In a containerized daemon /etc/os-release is the container image's, not the host's. Text has an OS Release Info: block with the raw file and a Kernel Info: line; output_format: json (also yaml/table/wide) returns an object with os_release (the raw file text, not parsed into fields) and kernel (the uname line). For CPU details use cpu/list, for kernel parameters kernel/system-control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_format | No | Use json for structured output (yaml, table and wide return the same JSON); default is text |