Read Service Job Details
readServiceJobDetailsInspect service job runs to see states, attempts, runtimes, and errors, plus scheduled jobs, recent failures by job type, and failed or dead queue jobs for debugging.
Instructions
Returns the newest job runs with their state, attempt, run time and error text, the jobs that schedules added within the range, the newest failure of each job type, and up to three failed or dead jobs per queue. Requires the developer role, because error texts can carry job data.
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": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>",
"serviceName": "<serviceName>"
},
"name": "readServiceJobDetails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| range | No | How far back to look; the answer has 30 to 96 points across it | 1h |
| region | No | ||
| appSlug | Yes | ||
| serviceName | Yes | ||
| workspaceSlug | Yes |