notion_create_view
Create a view for a Notion database, choosing from table, board, calendar, timeline, and more, with optional filters and sorts for tailored data presentation.
Instructions
Create a view on a Notion database.
database_id: the database to add the view to. name: display name for the view. view_type: table | board | list | calendar | timeline | gallery | chart (default table). filter_json: optional Notion filter object as JSON (same shape as notion_query_database's filter_json). sorts_json: optional JSON array of sort objects.
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": {
"database_id": "<database_id>",
"name": "<name>"
},
"name": "notion_create_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| view_type | No | table | |
| sorts_json | No | ||
| database_id | Yes | ||
| filter_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |