Skip to main content
Move or rename a file from one path to another.

Tool details

FieldValue
Namemove_file
GroupFiles

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "branch_id": {
      "type": "string",
      "description": "Branch ID (omit for main branch)"
    },
    "source_path": {
      "type": "string",
      "description": "Current file path"
    },
    "destination_path": {
      "type": "string",
      "description": "New file path"
    }
  },
  "required": [
    "project_reference",
    "source_path",
    "destination_path"
  ],
  "additionalProperties": false,
  "description": "Input schema for the move_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "source_path": {
      "type": "string",
      "description": "The source path associated with this tool result."
    },
    "destination_path": {
      "type": "string",
      "description": "The destination path associated with this tool result."
    }
  },
  "required": [
    "source_path",
    "destination_path"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the move_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}