Skip to main content
Glama

move_file

Relocate a TypeScript/JavaScript file to a new location and update all import statements automatically, ensuring references remain accurate and valid.

Instructions

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

Input Schema

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

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