Page and database management with Notion integration for CrewAI.
NOTION_CREATE_PAGE
parent
(object, required): Parent - The parent page or database where the new page is inserted, represented as a JSON object with a page_id or database_id key.
properties
(object, required): Properties - The values of the page’s properties. If the parent is a database, then the schema must match the parent database’s properties.
icon
(object, required): Icon - The page icon.
children
(object, optional): Children - Content blocks to add to the page.
cover
(object, optional): Cover - The page cover image.
NOTION_UPDATE_PAGE
pageId
(string, required): Page ID - Specify the ID of the Page to Update. (example: “59833787-2cf9-4fdf-8782-e53db20768a5”).icon
(object, required): Icon - The page icon.
archived
(boolean, optional): Archived - Whether the page is archived (deleted). Set to true to archive a page. Set to false to un-archive (restore) a page.properties
(object, optional): Properties - The property values to update for the page.
cover
(object, optional): Cover - The page cover image.
NOTION_GET_PAGE_BY_ID
pageId
(string, required): Page ID - Specify the ID of the Page to Get. (example: “59833787-2cf9-4fdf-8782-e53db20768a5”).NOTION_ARCHIVE_PAGE
pageId
(string, required): Page ID - Specify the ID of the Page to Archive. (example: “59833787-2cf9-4fdf-8782-e53db20768a5”).NOTION_SEARCH_PAGES
searchByTitleFilterSearch
(object, optional): A filter in disjunctive normal form - OR of AND groups of single conditions.
query
, filter.value
, direction
, page_size
NOTION_GET_PAGE_CONTENT
blockId
(string, required): Page ID - Specify a Block or Page ID to receive all of its block’s children in order. (example: “59833787-2cf9-4fdf-8782-e53db20768a5”).NOTION_UPDATE_BLOCK
blockId
(string, required): Block ID - Specify the ID of the Block to Update. (example: “9bc30ad4-9373-46a5-84ab-0a7845ee52e6”).archived
(boolean, optional): Archived - Set to true to archive (delete) a block. Set to false to un-archive (restore) a block.paragraph
(object, optional): Paragraph content.
image
(object, optional): Image block.
bookmark
(object, optional): Bookmark block.
code
(object, optional): Code block.
pdf
(object, optional): PDF block.
table
(object, optional): Table block.
tableOfContent
(object, optional): Table of Contents block.
additionalFields
(object, optional): Additional block types.
NOTION_GET_BLOCK_BY_ID
blockId
(string, required): Block ID - Specify the ID of the Block to Get. (example: “9bc30ad4-9373-46a5-84ab-0a7845ee52e6”).NOTION_DELETE_BLOCK
blockId
(string, required): Block ID - Specify the ID of the Block to Delete. (example: “9bc30ad4-9373-46a5-84ab-0a7845ee52e6”).query
, filter.value
, direction
, page_size