node_inspect
Retrieve full inspect data for a Docker Swarm node by ID or hostname. Displays role, availability, status, and manager reachability.
Instructions
Get a swarm node's full inspect payload by id or name.
Must run against a swarm manager. Shows role, availability, status, and manager reachability —
use node_list to enumerate nodes first, or the docker://nodes resource for a fleet
summary; service_ps(filters={"node": ...}) shows what a service runs on one node.
args: id_or_name - The node id or hostname (as shown by node_list)
returns: dict - The node's attrs (Spec{Role, Availability}, Status, ManagerStatus for managers)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |