get_power_state
Retrieve the current power state of a hardware place managed by the Labgrid MCP server. Specify an optional resource name when multiple power resources exist.
Instructions
Current power state for a place this server has acquired.
Reads via ``NetworkPowerDriver.get()`` (target.py). Category.POWER
gated even though it only reads: it talks to a real hardware path,
unlike the always-on Phase 1/2 read tools. ``resource_name``
(§11.14) picks one of several same-class power resources on the
place -- omit it for a single-power-resource place (unchanged
behavior); an unnamed pick on a multi-resource place is a tool
error naming the available resources. Echoed back in the result
only when given (additive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | ||
| resource_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||