Skip to Content

Notion

Notion icon
Arcade Optimized

Arcade.dev LLM tools for Notion

Author:Arcade
Version:1.2.1
Auth:User authorization via the Notion auth provider
8tools
PyPI VersionPython VersionsWheel StatusDownloadsLicense

NotionToolkit is a powerful set of tools from Arcade.dev that facilitates interaction with Notion's API, enabling developers to easily manage and manipulate their Notion workspaces. It streamlines operations such as creating pages, appending content, and retrieving metadata or content from existing Notion pages.

Capabilities

  • Effortlessly create and modify pages within Notion.
  • Access detailed metadata and content from various Notion objects.
  • Search and navigate workspace structures and content efficiently.
  • Retrieve user information and workspace statistics.

OAuth

  • Provider: Notion
  • Scopes: None

Available tools(8)

8 of 8
Tool nameDescriptionSecrets
Append markdown content to the end of a Notion page by its ID or title
Create a new Notion page by the title of the new page's parent.
Get the metadata of a Notion object (page or database) from its title or ID. One of `object_title` or `object_id` MUST be provided, but both cannot be provided. The title is case-insensitive and outer whitespace is ignored. An object's metadata includes it's id, various timestamps, properties, url, and more.
Get the content of a Notion page as markdown with the page's ID
Get the content of a Notion page as markdown with the page's title
Get the workspace structure of the user's Notion workspace. Ideal for finding where an object is located in the workspace.
Search for similar titles of pages, databases, or both within the user's workspace. Does not include content.
Get information about the current user and their Notion workspace. This tool provides detailed information about the authenticated user's Notion workspace including workspace statistics, user context, and integration details.

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

NotionToolkit.AppendContentToEndOfPage

Append markdown content to the end of a Notion page by its ID or title

Parameters

ParameterTypeReq.Description
page_id_or_titlestringRequiredID or title of the page to append content to
contentstringRequiredThe markdown content to append to the end of the page

Requirements

No secrets required

Output

Type:jsonA dictionary containing a success message and the URL to the page
#

NotionToolkit.CreatePage

Create a new Notion page by the title of the new page's parent.

Parameters

ParameterTypeReq.Description
parent_titlestringRequiredTitle of an existing page/database within which the new page will be created.
titlestringRequiredTitle of the new page
contentstringOptionalThe content of the new page

Requirements

No secrets required

Output

Type:stringThe ID of the new page
#

NotionToolkit.GetObjectMetadata

Get the metadata of a Notion object (page or database) from its title or ID. One of `object_title` or `object_id` MUST be provided, but both cannot be provided. The title is case-insensitive and outer whitespace is ignored. An object's metadata includes it's id, various timestamps, properties, url, and more.

Parameters

ParameterTypeReq.Description
object_titlestringOptionalTitle of the page or database whose metadata to get
object_idstringOptionalID of the page or database whose metadata to get
object_typestringOptionalThe type of object to match title to. Only used if `object_title` is provided. Defaults to both
pagedatabase

Requirements

No secrets required

Output

Type:jsonThe metadata of the object
#

NotionToolkit.GetPageContentById

Get the content of a Notion page as markdown with the page's ID

Parameters

ParameterTypeReq.Description
page_idstringRequiredID of the page to get content from

Requirements

No secrets required

Output

Type:stringThe markdown content of the page
#

NotionToolkit.GetPageContentByTitle

Get the content of a Notion page as markdown with the page's title

Parameters

ParameterTypeReq.Description
titlestringRequiredTitle of the page to get content from

Requirements

No secrets required

Output

Type:stringThe markdown content of the page
#

NotionToolkit.GetWorkspaceStructure

Get the workspace structure of the user's Notion workspace. Ideal for finding where an object is located in the workspace.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:jsonThe workspace structure
#

NotionToolkit.SearchByTitle

Search for similar titles of pages, databases, or both within the user's workspace. Does not include content.

Parameters

ParameterTypeReq.Description
querystringOptionalA substring to search for within page and database titles. If not provided (default), all pages and/or databases are returned.
selectstringOptionalLimit the results to either only pages or only databases. Defaults to both.
pagedatabase
order_bystringOptionalThe direction to sort search results by last edited time. Defaults to 'descending'.
ascendingdescending
limitintegerOptionalThe maximum number of results to return. Defaults to 100. Set to -1 for no limit.

Requirements

No secrets required

Output

Type:jsonA dictionary containing minimal information about the pages and/or databases that have titles that are the best match for the query. Does not include content or location.
#

NotionToolkit.WhoAmI

Get information about the current user and their Notion workspace. This tool provides detailed information about the authenticated user's Notion workspace including workspace statistics, user context, and integration details.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:jsonGet comprehensive user profile and Notion workspace information.
Last updated on