Cds Job Result
cds_job_resultCollect the output of a Copernicus Climate Data Store retrieval job: when the job is successful returns the download URL (href) with file type, size in bytes and expiry where the service states them. If the job is not finished it does NOT return an empty result: it returns ready:false with the current status and tells you to poll cds_job_status. A failed job returns its failure reason. Unknown job id returns found:false. Requires the same _apiKey that submitted the job.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "0b1c2d3e-4f50-6172-8394-a5b6c7d8e9f0"
},
"name": "cds_job_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job id returned by cds_submit_request (job.jobID). | |
| _apiKey | Yes | Your own Copernicus CDS Personal Access Token (BYO), the one that submitted the job. Get one free at cds.climate.copernicus.eu: create an ECMWF account, accept the dataset licences, then copy the Personal Access Token from your profile page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| note | No | ||
| found | Yes | ||
| ready | No | true only when the data can be collected | |
| job_id | Yes | ||
| source | No | ||
| status | No | accepted, running, successful, failed or dismissed | |
| created | No | ||
| failure | No | ||
| started | No | ||
| updated | No | ||
| download | No | null until the job is successful | |
| finished | No | ||
| collection_id | No |