Skip to main content
Glama

overwrite

Replace selected text lines with new content in Python or JavaScript files. View a preview of changes and identify syntax errors before applying edits.

Instructions

Overwrite the selected lines with new text. Amount of new lines can differ from the original selection

Args: new_lines (dict): Example: {"lines"}

Returns: dict: Diff preview showing the proposed changes, and any syntax errors for JS or Python

Input Schema

NameRequiredDescriptionDefault
new_linesYes

Input Schema (JSON Schema)

{ "properties": { "new_lines": { "additionalProperties": true, "title": "New Lines", "type": "object" } }, "required": [ "new_lines" ], "type": "object" }

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/danielpodrazka/editor-mcp'

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