Skip to main content
Glama

set_file

Define the file to work with in editor-mcp server. This initial step prepares the file for subsequent operations like reading, editing, or selecting content.

Instructions

Set the current file to work with.

This is always the first step in the workflow. You must set a file before you can use other tools like read, select etc.

Input Schema

NameRequiredDescriptionDefault
filepathYes

Input Schema (JSON Schema)

{ "properties": { "filepath": { "title": "Filepath", "type": "string" } }, "required": [ "filepath" ], "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