remove_element
Removes a specified element and its subtree from a JMeter test plan. Prevents deletion of the root TestPlan node, keeping the plan valid.
Instructions
Remove an element (and its subtree) from a test plan. The root TestPlan node cannot be removed.
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": {
"planId": "<planId>",
"nodeId": "<nodeId>"
},
"name": "remove_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| planId | Yes |