Export job history
export_job_historyCreates a job-console export file in Oracle. This writes a file and needs a preview first, then confirm:true. It includes every job type and status, including failures, and excludes error-log contents. Check the returned job with check_job_status, then read the file with list_recent_jobs. Oracle requires Service Administrator, Job - Manage or Job - View access. Use it to prepare a fresh job-history file. https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/prest/pbcs_export_job_console_job.html For a write, I require a preview first, then confirm: true and its confirmationToken. The token lasts ten minutes and works once.
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": {
"fileName": "<fileName>"
},
"name": "export_job_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Export the last 1, 2, 7, 30 or 60 days, or All. | 7 |
| confirm | No | Set true after the user has approved the previewed change | |
| fileName | Yes | Existing outbox file name, or the new name for an export. No path or URL. | |
| connection | No | Connection id or label from list_connections. Defaults to the user's default connection. | |
| application | No | Application name. Defaults to the chosen connection. | |
| confirmationToken | No | Single-use token from this exact preview. Send it with confirm: true after the user approves. It expires after ten minutes. |