move_document
Relocate a document to a new collection or parent while preserving its nested hierarchy. Use to reorganize content structure, change collections, or update document nesting within the MCP Outline Server.
Instructions
Relocates a document to a different collection or parent document.
IMPORTANT: When moving a document that has child documents (nested
documents), all child documents will move along with it, maintaining
their hierarchical structure. You must specify either collection_id or
parent_document_id (or both).
Use this tool when you need to:
- Reorganize your document hierarchy
- Move a document to a more relevant collection
- Change a document's parent document
- Restructure content organization
Args:
document_id: The document ID to move
collection_id: Target collection ID (if moving between collections)
parent_document_id: Optional parent document ID (for nesting)
Returns:
Result message confirming the move operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_id | No | ||
document_id | Yes | ||
parent_document_id | No |
Input Schema (JSON Schema)
{
"properties": {
"collection_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Collection Id"
},
"document_id": {
"title": "Document Id",
"type": "string"
},
"parent_document_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Document Id"
}
},
"required": [
"document_id"
],
"title": "move_documentArguments",
"type": "object"
}