show_interface
Look up ROS 2 message, service, or action type definitions by package/type/name to see fields and meanings.
Instructions
查看 ROS2 消息/服务/动作类型的字段定义。
何时用:拿到一个类型名(如 sample_topic 返回里的 type)想看它有哪些字段、 各字段是什么意思。 参数 interface_type:格式为 包/类型/名称,例如 std_msgs/msg/String、 example_interfaces/srv/AddTwoInts、turtlesim/action/RotateAbsolute。 返回:definition 字段为字段定义原文。失败时返回 error(常见:类型名拼错、 相应功能包未安装)。
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": {
"interface_type": "<interface_type>"
},
"name": "show_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface_type | Yes |