Skip to main content
Glama

update-page

Modify properties or archive an existing page in Notion using the 'update-page' tool. Provide the page ID and new properties to keep your workspace content up-to-date.

Instructions

Update an existing page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archivedNoWhether to archive the page
page_idYesID of the page to update
propertiesYesUpdated page properties

Implementation Reference

  • Handler for the 'update-page' tool. Extracts page_id, properties, and optional archived flag from arguments, constructs update parameters, calls Notion's pages.update API, and returns the JSON response as text content.
    else if (name === "update-page") { const { page_id, properties, archived } = args; const updateParams = { page_id, properties, }; if (archived !== undefined) { updateParams.archived = archived; } const response = await notion.pages.update(updateParams); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; }
  • server.js:103-124 (registration)
    Registration of the 'update-page' tool in the tools/list response, including name, description, and input schema definition.
    { name: "update-page", description: "Update an existing page", inputSchema: { type: "object", properties: { page_id: { type: "string", description: "ID of the page to update" }, properties: { type: "object", description: "Updated page properties" }, archived: { type: "boolean", description: "Whether to archive the page" } }, required: ["page_id", "properties"] } },

Other Tools

Related Tools

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/emmanuelsystems/mcpnotionslack'

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