bymundi API

Rename a document folder

The rename_document_folder MCP tool: rename a document folder.

rename_document_folder · writes · idempotent

REST: PATCH /v1/document-folders/{folderId}

What the model reads

Renames one of a trip's document folders (travelers see the new name). undo_change reverts it.

Permissions: documents:write. Undo: the result names a change id; undo_change reverts it.

Input

Field Type Required Description
folderId uuid yes
name string yes As travelers will see it, e.g. 'Flights', 'Hotels', 'Insurance'. max 200 chars

Input schema (JSON)

{
  "type": "object",
  "properties": {
    "folderId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "As travelers will see it, e.g. 'Flights', 'Hotels', 'Insurance'."
    }
  },
  "required": [
    "folderId",
    "name"
  ],
  "additionalProperties": false
}