Get scenarios in a form
xmatters_get_scenarios_in_a_formRetrieve scenarios within a specified form using plan and form IDs. Use to view or manage scenario data in a workflow.
Instructions
Get scenarios in a form. GET /api/xm/1/plans/{planId}/forms/{formId}/scenarios. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-scenarios-in-a-form
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": {
"path": "<path>"
},
"name": "xmatters_get_scenarios_in_a_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: embed, sortBy, sortOrder, offset, limit. Pagination is explicit using offset and limit; results are not automatically combined. |