Connect an agent

dev/page MCP tool

move_page

Move an existing page without changing its published content.

When to use it

When reorganizing pages without publishing a new content revision.

Behavior

Assigns a page to an explicit folder, or passes null to unlock it and classify it automatically from its current title and content.

Required scopes
pages:write
Idempotency
not-applicable
Side effects
Changes one page's folder placement without changing its public content revision.
Cost
One guarded page placement update.
Recovery
List folders again and retry with a current folder ID, or null for automatic placement.
Stable errors
page_not_found, invalid_folder, workspace_not_found, workspace_access_revoked, rate_limited, service_not_ready

Exact input schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "folderId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        {
          "type": "null"
        }
      ]
    },
    "page": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$"
    }
  },
  "required": [
    "folderId",
    "page"
  ],
  "additionalProperties": false
}

Exact success schema

Every successful MCP response uses this validated { contractVersion, requestId, data } envelope.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "contractVersion": {
      "type": "string",
      "const": "9"
    },
    "data": {
      "type": "object",
      "properties": {
        "contentSha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "contentType": {
          "type": "string",
          "enum": [
            "markdown",
            "html"
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "folder": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "name": {
                  "type": "string"
                },
                "path": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "id",
                "name",
                "path"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "latestRevisionId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "pageId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "publicUrl": {
          "type": "string",
          "format": "uri"
        },
        "publishedRevisionId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "status": {
          "type": "string",
          "enum": [
            "neutral",
            "todo",
            "done"
          ]
        },
        "title": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string"
        },
        "workspace": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "isDefault": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            },
            "role": {
              "type": "string",
              "enum": [
                "owner",
                "editor"
              ]
            },
            "slug": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80,
              "pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$"
            }
          },
          "required": [
            "id",
            "isDefault",
            "name",
            "role",
            "slug"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "contentSha256",
        "contentType",
        "createdAt",
        "folder",
        "latestRevisionId",
        "pageId",
        "publicUrl",
        "publishedRevisionId",
        "status",
        "title",
        "updatedAt",
        "workspace"
      ],
      "additionalProperties": false
    },
    "requestId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "contractVersion",
    "data",
    "requestId"
  ],
  "additionalProperties": false
}

Back to MCP workflows