Get a scenario attachment
xmatters_get_a_scenario_attachmentRetrieve a scenario attachment file by providing the scenario ID and attachment filename. Returns the raw attachment bytes, including text files, for direct use or download.
Instructions
Get a scenario attachment. GET /api/xm/1/scenarios/{scenarioId}/attachments/{attachmentId}. Returns attachment bytes, including text files; response is not a JSON object despite illustrative response code. attachmentId is a file name. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-a-scenario-attachment
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_a_scenario_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. |