Notion 集成。搜索页面和数据库,创建/更新/归档页面,读取/追加区块内容,查询数据库。通过 MorphixAI 代理安全访问 Notion API。
通过 mx_notion 工具管理 Notion 工作区:搜索、页面管理、数据库查询、内容读写。
openclaw plugins install openclaw-morphixaimk_xxxxxx 密钥export MORPHIXAI_API_KEY="mk_your_key_here"mx_link 工具链接(app: notion)mx_notion:
action: get_me
mx_notion:
action: search
query: "会议纪要"
filter_type: "page"
page_size: 10
filter_type可选值:page、database。省略则搜索全部类型。
mx_notion:
action: get_page
page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
mx_notion:
action: create_page
parent_type: "page"
parent_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
title: "新页面标题"
children:
- type: "paragraph"
paragraph:
rich_text:
- type: "text"
text:
content: "页面内容"
mx_notion:
action: update_page
page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
properties:
title:
title:
- text:
content: "更新后的标题"
mx_notion:
action: archive_page
page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
mx_notion:
action: get_block_children
block_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
page_size: 50
mx_notion:
action: append_blocks
block_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
children:
- type: "paragraph"
paragraph:
rich_text:
- type: "text"
text:
content: "追加的新段落"
mx_notion:
action: query_database
database_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
filter:
property: "Status"
select:
equals: "进行中"
sorts:
- property: "Created"
direction: "descending"
page_size: 20
1. mx_notion: search, query: "API 设计规范", filter_type: "page"
2. mx_notion: get_page, page_id: "xxx" → 查看页面元信息
3. mx_notion: get_block_children, block_id: "xxx" → 读取具体内容
1. mx_notion: search, filter_type: "database" → 找到项目数据库
2. mx_notion: query_database, database_id: "xxx", filter: { status = "进行中" }
3. mx_notion: create_page, parent_type: "database", parent_id: "xxx" → 创建新任务
has_more: true 时使用 start_cursor 获取下一页properties 格式取决于数据库的字段定义account_id 参数通常省略,工具自动检测已链接的 Notion 账号ZIP package — ready to use