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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swarm_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||