List Shared Steps
list_shared_stepsRetrieve reusable shared steps for a project, with sorting by title or creation date and optional test case usage counts, to reference them via returned IDs in test cases.
Instructions
List reusable shared steps for a project. Supports sorting by title or creation date and can include test case usage counts. Use the returned id as sharedStepId when referencing a shared step from create_test_case / update_test_case.
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": {
"projectCode": "<projectCode>"
},
"name": "list_shared_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Include optional fields like the number of test cases referencing each shared step | |
| sortField | No | Field to sort results by | |
| sortOrder | No | Sort direction (ascending or descending). Requires sortField. | |
| projectCode | Yes | Project code identifier (e.g., BDI) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sharedSteps | Yes | List of shared steps defined in the project |