detect_hardware
Returns system hardware info (RAM, CPU, GPU, disk) to guide model selection and health checks.
Instructions
Return system hardware info: totalRAM (GB), freeRAM (GB), cpuModel, cpuCores, platform, arch, gpu (NVIDIA via nvidia-smi on Linux/Windows; Apple Silicon Metal/MPS on macOS arm64; null otherwise), diskFreeGB (homedir partition). Used by Doctor checks and model-selection decisions — bigger models need more RAM, GPU-accelerated paths only fire when gpu != null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||