Check whether a brand analysis run can be started
get_brand_analysis_availabilityWhether create_brand_analysis_run would start a new run for the project right now, and if not, why — the same check that tool runs itself, without starting anything.
Instructions
Whether create_brand_analysis_run would start a new run for the project right now, and if not, why — the same check that tool runs itself, without starting anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project to work on — its id from list_projects. Required on every call, so that parallel conversations never read or write each other's project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canRun | Yes | Whether a new run can be started right now. | |
| reason | Yes | Why a new run can or cannot be started: no_project = the project could not be reached, no_prompts = the project has no active tracked prompts yet, no_results = the active prompts have not produced tracking results yet, processing = a run is already in progress, up_to_date = the latest run already reflects the current tracking results, retry_error / retry_corrupted_response = the latest run failed and running again is allowed, ready = nothing is blocking a new run. | |
| usedResultCount | Yes | ||
| activePromptCount | Yes | ||
| latestTrackScoreResultTimestamp | Yes | When the most recent tracking result of the project was taken. null = none yet. |