Poll a Monte Carlo job
get_jobPoll a Monte Carlo job by the jobId run_monte_carlo_job returned. Each call first runs a few more seconds of the job's trials (3 s, up to about 5 s a call) — the job progresses only while it is polled — then answers with job (status, trials.done of trials.total, progress) and next, which says whether to call again and how many calls are likely left. Keep calling until job.status is done, failed or cancelled; do not wait between calls unless job.sliceInProgress is true (another request is running a slice — wait about five seconds). When done, result is the digest simulate_monte_carlo returns (summary, counts, seed, nodeStats). Polling uses no quota. A job is readable for 24 h after it finishes or last progressed; a job that belongs to another key is NOT_FOUND. To cancel one, DELETE /v1/jobs/{id} over REST (no refund).
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": {
"jobId": "<jobId>"
},
"name": "get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id (`job_` followed by 20 characters) from run_monte_carlo_job. |