Link Shared Step
link_shared_stepLink a shared step to a test case by adding its reference to the step list; the shared step's actions expand at execution time.
Instructions
Link a shared step to a test case. ⚠️ CAUTION: Destructive.
Adds a reference to the shared step in the test case's step list. The shared step's actions will expand at execution time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be set to True to proceed with linking. Safety measure. | |
| position | No | Where to insert the shared step (0-indexed, optional). 0 = Insert at beginning None = Append to end (default) N = Insert after step N (so it becomes the (N+1)th step) | |
| project_id | No | Optional override for the default Project ID. | |
| test_case_id | Yes | The ID of test case to modify. | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| shared_step_id | Yes | The ID of shared step to link. |