End a live study early
endStudyEnd a live study early. This can’t be undone: it closes to new responses for good, and what’s left of its hold goes back to the balance. You keep the responses it has, and pay for those.
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": {
"studyId": "<studyId>"
},
"name": "endStudy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studyId | Yes | ||
| idempotencyKey | No | Any unique text, sent again unchanged when you retry this call: a retry gets the first answer back and spends nothing twice. Left out, one is made for this call and the answer says which, so a retry can use it. |