list_jobs
Retrieve and display available jobs from the trykittai MCP server for monitoring and management purposes.
Instructions
List jobs
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:79-86 (handler)The main handler function for the 'list_jobs' tool. It is registered via the @mcp.tool() decorator and implements the tool logic by sending a GET request to the /job endpoint of the TryKitt API and returning the JSON response.
@mcp.tool() async def list_jobs() -> Dict: """ List jobs """ response = await http_client.get(f"/job") return response.json()