Skip to Content

sys_info

What the machine is: host name, OS and version, architecture, CPUs, memory, disks with free space, uptime, the user cmdop runs as and its home folder. Call it before choosing commands for a machine.

Arguments

Over MCP every tool also takes machine: the machine’s name or id, optional when only one machine is online.

No other arguments.

Result

NameTypeRequiredMeaning
archstringyesaarch64, x86_64.
cpusintegeryes
disksobject[]yesMounted file systems with their space, in bytes.
homestringno
hostnamestringyes
kernelstringno
memory_availableintegeryes
memory_totalintegeryes
osstringyesmacos, linux, windows.
os_versionstringnoOS release, for example 15.5 or Ubuntu 24.04.
uptimeintegeryesSeconds since boot.
userstringnoThe user the machine program runs as.

Examples

{ "name": "sys_info", "arguments": { "machine": "<machine>" } }

Limits

The call times out after 15 s (timed_out). Available since version 0.0.1. A refused or failed call returns one of the error codes.