Skip to main content
Glama

create_note

Create new notes in Notion with titles, content, and optional tags for organizing meetings, ideas, references, or quick memos.

Instructions

在笔记库中创建一篇新笔记。

Args: title: 笔记标题(必填) content: 笔记正文(必填,支持纯文本/Markdown) note_type: 笔记类型,可选:会议记录 | 想法 | 参考 | 速记,默认速记 tags: 标签列表,如 ["前端", "架构"],可选

Returns: 创建成功的笔记详情

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
contentYes
note_typeNo速记
tagsNo

Implementation Reference

  • The handler function that executes the logic to create a note by preparing the data and calling the client.
    def create_note(
        title: str,
        content: str,
        note_type: str = "速记",
        tags: Optional[list[str]] = None,
    ) -> dict:
        """
        在笔记库中创建一篇新笔记。
    
        Args:
            title:     笔记标题(必填)
            content:   笔记正文(必填,支持纯文本/Markdown)
            note_type: 笔记类型,可选:会议记录 | 想法 | 参考 | 速记,默认速记
            tags:      标签列表,如 ["前端", "架构"],可选
    
        Returns:
            创建成功的笔记详情
        """
        data = NoteCreate(
            title=title,
            content=content,
            type=NoteType(note_type),
            tags=tags or [],
        )
        return get_client().create_note(data).model_dump()
  • server.py:50-50 (registration)
    Tool registration for 'create_note' using mcp.tool decorator.
    mcp.tool(create_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