Skip to main content
Glama
rayenamer

MCP Chat

by rayenamer

edit_document

Replace specific text in documents by identifying exact strings to modify and inserting new content, enabling precise document editing through string substitution.

Instructions

Edit a document by replacing a string in the documents content with a new string

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesId of the document that will be edited
old_strYesThe text to replace. Must match exactly, including whitespace
new_strYesThe new text to insert in place of the old text
Install Server

Other Tools

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/rayenamer/MCP_Intro'

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