get_app_job_traces
Retrieve recent traces for a specific background job in an app, filtered by time range, to inspect job performance and diagnose bottlenecks.
Instructions
Get recent traces for an app filtered to a specific background job.
Each trace includes: id, time, duration, name, queue, metric_name, context.
Args: app_id (int): The ID of the Scout APM application. job_id (str): The Base64-encoded job ID. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
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": {
"app_id": "<app_id>",
"from_": "<from_>",
"to": "<to>",
"job_id": "<job_id>"
},
"name": "get_app_job_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from_ | Yes | ||
| app_id | Yes | ||
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |