Mandala
Tools

Notion

Manage Notion pages

Usage Instructions

Integrate with Notion into the workflow. Can read page, read database, create page, create database, append content, query database, and search workspace.

Tools

notion_read

Read content from a Notion page

Input

ParameterTypeRequiredDescription
pageIdstringYesThe ID of the Notion page to read

Output

ParameterTypeDescription
contentstringPage content in markdown format with headers, paragraphs, lists, and todos
metadataobjectPage metadata including title, URL, and timestamps

notion_read_database

Read database information and structure from Notion

Input

ParameterTypeRequiredDescription
databaseIdstringYesThe ID of the Notion database to read

Output

ParameterTypeDescription
contentstringDatabase information including title, properties schema, and metadata
metadataobjectDatabase metadata including title, ID, URL, timestamps, and properties schema

notion_write

Append content to a Notion page

Input

ParameterTypeRequiredDescription
pageIdstringYesThe ID of the Notion page to append content to
contentstringYesThe content to append to the page

Output

ParameterTypeDescription
contentstringSuccess message confirming content was appended to page

notion_create_page

Create a new page in Notion

Input

ParameterTypeRequiredDescription
parentIdstringYesID of the parent page
titlestringNoTitle of the new page
contentstringNoOptional content to add to the page upon creation

Output

ParameterTypeDescription
contentstringSuccess message confirming page creation
metadataobjectPage metadata including title, page ID, URL, and timestamps

notion_query_database

Query and filter Notion database entries with advanced filtering

Input

ParameterTypeRequiredDescription
databaseIdstringYesThe ID of the database to query
filterstringNoFilter conditions as JSON (optional)
sortsstringNoSort criteria as JSON array (optional)
pageSizenumberNoNumber of results to return (default: 100, max: 100)

Output

ParameterTypeDescription
contentstringFormatted list of database entries with their properties
metadataobjectQuery metadata including total results count, pagination info, and raw results array

Search across all pages and databases in Notion workspace

Input

ParameterTypeRequiredDescription
querystringNoSearch terms (leave empty to get all pages)
filterTypestringNoFilter by object type: page, database, or leave empty for all
pageSizenumberNoNumber of results to return (default: 100, max: 100)

Output

ParameterTypeDescription
contentstringFormatted list of search results including pages and databases
metadataobjectSearch metadata including total results count, pagination info, and raw results array

notion_create_database

Create a new database in Notion with custom properties

Input

ParameterTypeRequiredDescription
parentIdstringYesID of the parent page where the database will be created
titlestringYesTitle for the new database
propertiesstringNoDatabase properties as JSON object (optional, will create a default "Name" property if empty)

Output

ParameterTypeDescription
contentstringSuccess message with database details and properties list
metadataobjectDatabase metadata including ID, title, URL, creation time, and properties schema

Notes

  • Category: tools
  • Type: notion
Notion