List autowarm jobs
list_autowarm_jobsLists all pg_cron autowarm jobs registered by MCPg, returning job ID, name, cron schedule, and SQL command. Returns empty when pg_cron is not installed.
Instructions
List the pg_cron jobs MCPg registered for autowarm (jobname LIKE 'mcpg_autowarm%'). Returns an empty list when pg_cron is not installed. Returns a list of objects with jobid, jobname, schedule (the cron expression), and command (the SELECT the job runs).
Example: list_autowarm_jobs()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |