get_job_status
Check the status of a job using its ID to monitor progress and completion.
Instructions
Get the status of a job.
Args:
job_id: The ID of the job to check
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Implementation Reference
- server.py:67-76 (handler)The handler function decorated with @mcp.tool(), implementing the get_job_status tool by querying the job status from the TryKitt API.
@mcp.tool() async def get_job_status(job_id: str) -> Dict: """ Get the status of a job. Args: job_id: The ID of the job to check """ response = await http_client.get(f"/job?id={job_id}") return response.json()