Skip to main content
Glama

edit_file

Replace specific content in files to modify code or text, enabling targeted edits without manual file manipulation.

Instructions

Edit a file by replacing specific content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYesPath to the file
old_contentYesThe content to be replaced in the file.
new_contentYesNew content to insert

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/Abhi-vish/code-buddy'

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