get-machine
Retrieve the current state and resource usage for any named machine, choosing between local or cloud fleets to diagnose issues and monitor performance.
Instructions
Get one machine's state and resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Machine name | |
| target | No | Which fleet to talk to. local is smolvm serve on this host; cloud is smol cloud at SMOL_CLOUD_URL. | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| pid | Yes | ||
| cpus | Yes | ||
| name | Yes | ||
| image | Yes | ||
| state | Yes | ||
| network | Yes | ||
| memoryMb | Yes | ||
| createdAt | Yes |