Check Study Start Allowance
check_study_start_allowanceRead-only: whether the account's plan can pay for a planned Study before it starts. Counts one synthetic response per intended Mind per question, the Free plan's Study answers and the started-Study cap, as a start does. Returns fits, startRefused, the shortfall and how many Minds or questions would fit. Nothing is created, reserved or charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_study_start_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studyId | No | A saved Study draft's Study to check, by ID. Its attached Audiences count when audienceIds is omitted. | |
| questions | No | How many questions every Mind will answer. Omit or 0 while the questions are not known yet: the check then covers one question. | |
| audienceIds | No | Existing Audiences the Study will ask, by ID. | |
| segmentSelections | No | Optional list of {audienceId, segments}, where segments contains up to three {formationId, subgroupId} pairs from that Audience's segment catalogue (use list_formations to obtain their IDs). Choose at most one segment per dimension. Different dimensions intersect; only the matching Minds participate. The accepted participant set is retained for later questions and retries. Omit an Audience to use all its Minds. | |
| plannedAudienceMinds | No | Sizes (Minds) of Audiences that will be created when the Study starts, one number per new Audience. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fits | No | True when every planned question runs for every intended Mind within the plan. | |
| planLimit | No | The plan-limit refusal the start would give (`statusMessage` and the PLAN_LIMIT envelope in `data`), or null when the Study fits. | |
| responses | No | The response allowance (`unlimited`, `limit`, `used`, `remaining`, `periodEnd`; -1 when unlimited). | |
| startRefused | No | True when starting the Study as planned would be refused (not just run fewer questions). | |
| responsesNeeded | No | Synthetic responses the start needs: one per intended Mind per question that runs. |