Ticket Scenario Create
ticket_scenario_createAuthor one Given/When/Then scenario on an owned ticket. This is the specification an epic must carry before it can be completed: record a passing run against it with ticket_validation_finalize, then transition the epic. The server owns revision 1 and returns current_version and current_definition_hash — pass those exact values to ticket_validation_finalize. Authoring a scenario is not evidence; it states what must be proven, not that it was.
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": {
"ticket_id": "<ticket_id>",
"name": "<name>",
"given_steps": "<given_steps>",
"when_steps": "<when_steps>",
"then_steps": "<then_steps>"
},
"name": "ticket_scenario_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| required | No | ||
| ticket_id | Yes | ||
| then_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| when_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| given_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| order_index | No | ||
| scenario_key | No |