### Adds one new tool to the Notion toolkit * **AppendContentToEndOfPage**: Append markdown content to the end of a Notion page by its ID or title ### Fixes a bug * The **CreatePage** would previously fail if the content provided was broken into more than 100 blocks. I added 'chunking' logic to support > 100 blocks.
21 lines
502 B
Python
21 lines
502 B
Python
from arcade_notion_toolkit.tools.pages import (
|
|
append_content_to_end_of_page,
|
|
create_page,
|
|
get_page_content_by_id,
|
|
get_page_content_by_title,
|
|
)
|
|
from arcade_notion_toolkit.tools.search import (
|
|
get_object_metadata,
|
|
get_workspace_structure,
|
|
search_by_title,
|
|
)
|
|
|
|
__all__ = [
|
|
"append_content_to_end_of_page",
|
|
"create_page",
|
|
"get_object_metadata",
|
|
"get_page_content_by_id",
|
|
"get_page_content_by_title",
|
|
"get_workspace_structure",
|
|
"search_by_title",
|
|
]
|