move_file_to_folder

Move a file to a new parent folder.

writeGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "move_file_to_folder",
  "arguments": {
    "fileId": "<fileId>",
    "newParentId": "<newParentId>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/move_file_to_folder \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId":"<fileId>","newParentId":"<newParentId>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
fileIdrequiredstringthe Drive file ID.
newParentIdrequiredstringTarget folder ID.

Result

Every tool answers {notification, data, human_action}; data carries:

  • success — Boolean indicating successful move.

Example

move_file_to_folder(fileId="1XYZ...", newParentId="1ABC...")

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude