Skip to main content
Glama

cursor_agent_edit_file

Edit files using natural language instructions to modify code or content without manual editing, reducing token usage in AI workflows.

Instructions

Edit a file with an instruction. Prompt-based wrapper; no CLI subcommand required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
instructionYes
applyNo
dry_runNo
promptNo
output_formatNotext
extra_argsNo
cwdNo
executableNo
modelNo
forceNo
echo_promptNo

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/Darkstar326/cursor-agent-mcp'

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