create_node
Create a Python ROS 2 node inside an existing package by providing the workspace path, package name, and node name.
Instructions
Create a Python ROS 2 node inside an existing package.
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": {
"workspace_path": "<workspace_path>",
"package_name": "<package_name>",
"node_name": "<node_name>"
},
"name": "create_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| package_name | Yes | ||
| workspace_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||