Skip to content

feat: Notion Bridge — In-place block editing (notion_write_update_block) #495

Description

@Delqhi

Enhancement Request

Add notion_write_update_block tool to the Notion MCP bridge for editing existing blocks in-place.

API Capability

The Notion API supports PATCH /v1/blocks/{block_id} for updating block content:

  • Paragraphs: Update rich_text
  • Headings: Update rich_text, color, is_toggleable
  • Code blocks: Update rich_text, language, caption
  • To-Do: Update checked, rich_text
  • Callouts: Update rich_text, icon, color

Plus: PATCH /v1/pages/{page_id}/markdown for Markdown-based updates with search-and-replace.

Requirements

  • Update block content without recreating
  • Support rich text formatting
  • Support block-specific properties (checked, color, language)
  • Follow Bridged-External pattern (M6)
  • Permission: ask (destructive edit)

Acceptance Criteria

  • Tool updates existing blocks via vibe-notion raw API
  • Rich text formatting preserved
  • Block-specific properties updated
  • Markdown update option available
  • Tests pass with go test -race
  • CHANGELOG.md + AGENTS.md updated

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions