Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

rename_file

Rename or move files within directories using specified old and new paths. Optionally overwrite existing files at the destination for efficient file management.

Instructions

Rename or move a file

Input Schema

NameRequiredDescriptionDefault
new_pathYesNew file path
old_pathYesCurrent file path
overwriteNoOverwrite if destination exists

Input Schema (JSON Schema)

{ "properties": { "new_path": { "description": "New file path", "type": "string" }, "old_path": { "description": "Current file path", "type": "string" }, "overwrite": { "default": false, "description": "Overwrite if destination exists", "type": "boolean" } }, "required": [ "old_path", "new_path" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PWalaGov/File-Control-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server