MCP Tools

move_item

Moves a request, draft or folder, or saves a draft into a collection.

Overview

move_item moves a request, draft or folder into a collection or folder, or a request to the drafts. Moving a draft into a collection saves it there. A request moved into another workspace's collection joins that workspace.

{
  "id": "5B2C8E41-9D3A-4F67-B0E8-1A4C7D2F6E95",
  "folderId": "E6B4A2C0-8D1F-4B37-9E5A-3C7D9F1B5A28",
  "index": 0
}

Parameters

Prop

Type

Return Value

An object with id, moved, isDraft, and the collectionId and folderId it’s now in.

Discussion

Give one of collectionId, folderId and toDrafts. A folder can't move inside itself or become a draft, and items can't move into or out of a read-only workspace.

See Also

  • create_folder: Creates a folder in a collection, or a new collection.
  • delete_item: Deletes a request, draft, folder or collection.