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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id_or_name": "<id_or_name>"
},
"name": "node_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |