Create Monitor
create_monitorSave a standing watch that fires later, on its own: when a count you name crosses a line you set, do the thing you chose. Lets an agent bank a condition and stop polling for it. The watch survives the conversation that created it. Note that start_workflow spends the account's credits unattended each time it fires, so the cooldown is the only thing bounding what it costs. Requires authentication, a Pro or Enterprise account, and the monitors:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human label for the watch, e.g. 'Backlog over 50'. | |
| action | Yes | What to do when the condition holds. | |
| subject | Yes | Which of your counts to watch. | |
| threshold | Yes | The line the count must cross. | |
| comparator | Yes | How the count is compared against threshold. | |
| action_config | No | Settings for the chosen action. start_workflow needs workflow_slug; notify_slack needs message. | |
| status_filter | No | Optional: count only rows in this status, e.g. 'todo'. Omit to count them all. | |
| cooldown_seconds | No | Minimum gap between firings. Defaults to 3600. Values below one scheduler tick are raised to 60, and the stored value reflects that. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |