get_report_job_status
Check the status of asynchronous report generation jobs in Oracle EPM Cloud FCCS to monitor progress and retrieve results when ready.
Instructions
Get status of an asynchronously running report job / Obter status de um job de relatorio
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID from async report generation | |
| report_type | No | Report type (default: FCCS) |
Implementation Reference
- fccs_agent/tools/reports.py:59-73 (handler)The main async handler function that implements the get_report_job_status tool. It calls the FCCS client to retrieve the job status and wraps the result.async def get_report_job_status( job_id: str, report_type: str = "FCCS" ) -> dict[str, Any]: """Get status of an asynchronously running report job / Obter status de um job de relatorio. Args: job_id: Job ID from async report generation. report_type: Report type - FCCS or SDM (default: FCCS). Returns: dict: Job status details. """ result = await _client.get_report_job_status(job_id, report_type) return {"status": "success", "data": result}
- fccs_agent/tools/reports.py:158-176 (schema)The input schema definition for the get_report_job_status tool, part of TOOL_DEFINITIONS list.{ "name": "get_report_job_status", "description": "Get status of an asynchronously running report job / Obter status de um job de relatorio", "inputSchema": { "type": "object", "properties": { "job_id": { "type": "string", "description": "Job ID from async report generation", }, "report_type": { "type": "string", "enum": ["FCCS", "SDM"], "description": "Report type (default: FCCS)", }, }, "required": ["job_id"], }, },
- fccs_agent/agent.py:166-168 (registration)Registration of the tool handler in the central TOOL_HANDLERS dictionary used by the agent to dispatch tool calls."generate_report": reports.generate_report, "get_report_job_status": reports.get_report_job_status, "generate_report_script": reports.generate_report_script,