queued_process
View all queued email batch processing jobs on the revenuebase-mcp-server for efficient job monitoring and management.
Instructions
Lists all queued email batch processing jobs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:29-40 (handler)The handler function for the 'queued_process' tool. It is registered via the @mcp.tool() decorator and implements the logic to fetch queued email batch processing jobs from the Revenuebase API using a GET request.@mcp.tool() def queued_process() -> dict: """ Lists all queued email batch processing jobs. """ if not api_key: raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set") url = "https://api.revenuebase.ai/v1/queued-process" headers = {"x-key": api_key, "Accept": "application/json"} resp = requests.get(url, headers=headers, verify=False) resp.raise_for_status() return resp.json()