ea_get_scenarios
Retrieve use case scenario flows for a given element ID, returning Basic, Alternate, and Exception paths with numbered steps, triggers, results, and referenced business rule codes.
Instructions
Get use case scenario flows for an element. scenarios holds the parsed flows; each has name, type, notes, and steps, and each step carries stepNumber plus its attributes (trigger, uses, result, state, link). Steps are numbered within each scenario. Scenarios ordered by type: Basic Path first, then Alternate, then Exception. A step's uses may name a business rule or constraint by code; that code is not independently searchable or resolvable — look it up among this same elementId's own constraints via ea_get_element, not by a separate lookup.
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": {
"elementId": "<elementId>"
},
"name": "ea_get_scenarios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | The Object_ID of the element (typically a UseCase) to get scenarios for |