list_nodes
Lists all running ROS 2 node names to verify if a node is alive and inspect what is active in the system. Returns node count and names.
Instructions
列出当前 ROS2 系统中所有正在运行的节点名。
何时用:确认某个节点是否活着;排查前先看看系统里有什么。 返回:node_count 与 nodes 列表(全名以 / 开头)。 nodes 为空说明未发现任何节点——系统未启动、与本机 ROS_DOMAIN_ID 不同或 daemon 异常,可用 health_check 进一步检查。 失败时返回 error 字段。
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": "list_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||