Skip to main content
Glama

set_file

Define the file to work with in the editor-mcp server. This is the initial step to enable actions like reading or selecting content in the specified file. Input the filepath to proceed.

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