Close survey & settle
close_surveyClose a running survey for good: stops fielding, charges accepted completes and releases the rest of the hold back to the wallet. Final — no more rejections after this. Confirm with the user first.
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>"
},
"name": "close_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). |