create_tests
Generate pytest tests for an existing ROS 2 package by providing a workspace path and package name.
Instructions
Create basic pytest tests for an existing ROS 2 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>"
},
"name": "create_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | ||
| workspace_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||