node_inspect
Retrieve a Docker swarm node's full inspection details by ID or hostname, including role, availability, status, and manager reachability. Requires a swarm manager.
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; 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 full document (Spec{Role, Availability}, Status, ManagerStatus for managers)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |