get_host_info
Retrieve local hardware and operating system details including system name, kernel version, architecture, processor, memory, and CPU model.
Instructions
获取本机硬件与操作系统信息。
返回 system(系统名)、release(内核版本)、machine(架构)、 processor(处理器标识)、memory_gb(总内存 GB)、 cpu_count(逻辑核心数)、cpu_model(CPU 型号)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system | Yes | 操作系统名称,如 Darwin / Linux / Windows | |
| machine | Yes | CPU 架构,如 x86_64 / arm64 | |
| release | Yes | 内核版本号 | |
| cpu_count | Yes | 逻辑核心数,无法探测时为 -1 | |
| cpu_model | Yes | CPU 型号名称,无法探测时为 Unknown | |
| memory_gb | Yes | 物理内存总量,单位 GB | |
| processor | Yes | 处理器标识,部分平台可能为空 |