Switch quota on/off
set_quota_activeSwitch a manual quota on (active=true) or off (active=false). An inactive quota never terminates respondents and records no fills. Auto (targeting-derived) quotas can't be switched off — freeze them instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"survey_id": "<survey_id>",
"quota_id": "<quota_id>",
"active": "<active>"
},
"name": "set_quota_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | True = on. | |
| quota_id | Yes | Quota id (from list_quotas). | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). |