Notion

notion-move-pages

Move one or more Notion pages or databases to a new parent.

Remote notion

Other tools also called notion-move-pages? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "new_parent": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "page_id"
          ],
          "properties": {
            "type": {
              "enum": [
                "page_id"
              ],
              "type": "string"
            },
            "page_id": {
              "type": "string",
              "description": "The ID of the parent page (with or without dashes), for example, 195de9221179449fab8075a27c979105"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "object",
          "required": [
            "database_id"
          ],
          "properties": {
            "type": {
              "enum": [
                "database_id"
              ],
              "type": "string"
            },
            "database_id": {
              "type": "string",
              "description": "The ID of the parent database (with or without dashes), for example, 195de9221179449fab8075a27c979105"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "object",
          "required": [
            "data_source_id"
          ],
          "properties": {
            "type": {
              "enum": [
                "data_source_id"
              ],
              "type": "string"
            },
            "data_source_id": {
              "type": "string",
              "description": "The ID of the parent data source (collection), with or without dashes. For example, f336d0bc-b841-465b-8045-024475c079dd"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "enum": [
                "workspace"
              ],
              "type": "string"
            }
          },
          "additionalProperties": true
        }
      ],
      "description": "The new parent under which the pages will be moved. This can be a page, the workspace, a database, or a specific data source under a database when there are multiple. Moving pages to the workspace level adds them as private pages and should rarely be used."
    },
    "page_or_database_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "An array of up to 100 page or database IDs to move. IDs are v4 UUIDs and can be supplied with or without dashes (e.g. extracted from a <page> or <database> URL given by the \"search\" or \"fetch\" tool). Data Sources under Databases can't be moved individually."
    }
  }
}
          

Provider

Notion →