Get a shift
xmatters_get_a_shiftRetrieve details of a specific shift by providing group and shift IDs. Use this tool to get shift information directly from xMatters for scheduling or on-call management.
Instructions
Get a shift. GET /api/xm/1/groups/{groupID}/shifts/{shiftID}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-a-shift
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_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: embed, include. Pagination is explicit using offset and limit; results are not automatically combined. |