Skip to main content
Glama

move_file

Relocate TypeScript/JavaScript files and automatically update all import statements to maintain code integrity during file movement.

Instructions

Move a TypeScript/JavaScript file to a new location and update all import statements

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYesRoot directory for resolving relative paths
oldPathYesCurrent file path (relative to root)
newPathYesNew file path (relative to root)
overwriteNoOverwrite the destination file if it exists

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/SomeiLam/news-mcp'

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