Export Forms answers
forms_answers_exportStart an async export of a form's answers (csv/xlsx); returns the operation to poll.
Instructions
Start an async export of a form's answers (csv/xlsx); returns the operation to poll.
An empty body exports every answer as xlsx. Poll the returned id with
operations_get until the status is terminal; download the finished file with the
forms answers export --wait CLI command (binary payload — not exposed over MCP).
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>",
"body": "<body>"
},
"name": "forms_answers_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Typed request body for ``POST /v1/surveys/{id}/answers/export`` (start an async export). Every field is optional — the API defaults ``format`` to ``xlsx`` and ``upload`` to ``default``. Unset (``None``) fields are dropped before the request is sent, so a bare ``AnswerExport()`` exports every answer of the form in ``xlsx``. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| survey_id | Yes | Form id (24-char hex), from ``surveys_list``. |