Create or update shared step
qase_shared_step_upsertCreate or update reusable shared test steps: omit hash to create a new block, or provide hash to update it across all referencing cases.
Instructions
Create or update a shared step — a block of steps written once and reused across cases. With hash it updates, without it creates; shared steps are identified by hash, which qase_case_upsert takes in a step's shared field. Updating changes every referencing case. Cost: one API call, about 0.5s.
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": {
"code": "<code>",
"title": "<title>"
},
"name": "qase_shared_step_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code, e.g. DEMO | |
| hash | No | Shared step hash — if provided, updates; if omitted, creates | |
| steps | No | Array of step definitions | |
| title | Yes | Shared step title |