Notion List Databases
notion_list_databasesSearch the Notion databases a connected workspace shared with QuestionPunk, to send a survey's responses into one that exists. Returns { databases: [{ dataSourceId, databaseId, title, icon, url }] }; pass dataSourceId to notion_survey_link_database. A database the user expects but that is missing was not shared with QuestionPunk in Notion.
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": {
"connectionId": "<connectionId>"
},
"name": "notion_list_databases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Words in the title; leave out to list the most recently edited | |
| connectionId | Yes | A connected workspace's id (connections[].id from notion_status) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |