add_test_case_step
Add a step to a test case scenario using step text, attachment, or shared step, with optional parent nesting. Returns the created step ID and step count.
Instructions
Add a step to a test case scenario and return {createdStepId, steps_count}.
Exactly one of body (step text), attachment_id, shared_step_id is required. parent_step_id makes the new step a child of an existing step.
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": {
"test_case_id": "<test_case_id>"
},
"name": "add_test_case_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| test_case_id | Yes | ||
| attachment_id | No | ||
| parent_step_id | No | ||
| shared_step_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |