調査の集計結果を取得する
get_survey調査1件の設問・選択肢・得票数・割合を取得します。引用用の固定URL(citation.stable_url。固定できる時点が無い調査では null)とライセンスも一緒に返します。
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_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | YYYY-MM 形式。その月末時点までの累計に固定する(引用向け)。省略すると最新の累計 | |
| survey_id | Yes | search_surveys が返した survey_id | |
| trusted_only | No | true にすると、メール確認済みアカウントの票だけに絞った集計を返す |