Skip to main content
Glama

append_note

Add content to existing Notion notes by appending text to the end of pages. Use this tool to update notes without modifying existing content.

Instructions

向已有笔记追加内容(追加到页面 body 末尾)。

Args: note_id: 笔记 ID content: 要追加的文本内容

Returns: 更新后的笔记元信息(不含完整 body)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYes
contentYes

Implementation Reference

  • The handler function that executes the append_note tool logic.
    def append_note(note_id: str, content: str) -> dict:
        """
        向已有笔记追加内容(追加到页面 body 末尾)。
    
        Args:
            note_id: 笔记 ID
            content: 要追加的文本内容
    
        Returns:
            更新后的笔记元信息(不含完整 body)
        """
        client = get_client()
        client.append_note_content(note_id, content)
        return client.get_note(note_id).model_dump()
  • The helper method that interacts with the Notion API to perform the actual block append operation.
    def append_note_content(self, note_id: str, content: str) -> None:
        """Append a paragraph block to a note page body."""
        self.client.blocks.children.append(
            block_id=note_id,
            children=[self._text_block(content)],
        )
  • server.py:51-51 (registration)
    Registration of the append_note function as an MCP tool.
    mcp.tool(append_note)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wauwaya/notion-workflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server