get_job_result
Retrieve an RQ job's result or exception info by job ID, returning null if the job doesn't exist. Truncates output to a specified byte limit with a truncated flag.
Instructions
Return a job's result/exc_info, or null if the job does not exist.
Truncated to max_bytes, with a truncated flag when that
happened.
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": {
"job_id": "<job_id>"
},
"name": "get_job_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |