Check whether new suggestions can be generated for a group
get_prompt_suggestion_availabilityCheck if prompt suggestions can run now for a prompt group, and see why not if blocked. Apply the same availability check without scheduling a run.
Instructions
Whether generate_prompt_suggestions would schedule a new run for one prompt group of the active project right now, and if not, why — the same check that tool runs itself, without scheduling anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Id of the prompt group, as list_prompt_groups reports it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canRun | Yes | Whether generate_prompt_suggestions would schedule a run right now. | |
| reason | Yes | Why a run would or would not be scheduled: not_eligible = the project's plan does not currently pay for background work, no_slots = no free prompt slots remain on the plan, running = a run is already in progress for this group, cooldown = the last run finished less than 7 days ago and its proposals still await a decision, nothing_to_suggest = the group is already healthy, ready = nothing is blocking a new run. | |
| lastRun | Yes | This group's most recent run. null = it never had one. | |
| availableSlots | Yes | Free prompt slots left on the plan; a run proposes at most this many. | |
| pendingSuggestionCount | Yes | Suggestions from this group still awaiting a decision. |