swarm_inspect
Inspect a Docker swarm's cluster configuration from a manager node, including ID, spec, join-token settings, and CA details. Use it to verify cluster state or retrieve management information.
Instructions
Inspect the swarm this daemon belongs to (id, spec, join-token config, CA info).
Works on a manager node only. Cluster-level configuration - for per-node state use
node_list; for the tokens new nodes need, swarm_join_tokens.
Returns: dict: The swarm's attrs, as returned by the daemon's swarm inspect endpoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||