Skip to main content
Glama

rename

Rename or move files and directories using atomic operations. Preview changes with dry-run mode before applying them.

Instructions

Renames or moves a file/directory. Atomic operation via os.Rename. Use dry_run=true to preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
old_pathYesAbsolute path to the file or directory to rename
new_pathYesAbsolute path for the new name/location
dry_runYesPreview rename without actually moving the file (default false)

Latest Blog Posts

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/knewstimek/agent-tool'

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