Get crosstab
get_crosstabCross-tabulate one question (rows) by up to 4 banner questions (columns) with chi-square significance. Omit ids to get the default table and the list of available fields.
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": "get_crosstab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Interlock 2+ banner fields into nested segments. | |
| col_qid | No | Column field id(s), comma-separated for multiple banners (e.g. 'gender,age'). | |
| row_qid | No | Row field id (from fields.rows; e.g. a qid). | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). |