Skip to main content
Glama

insert_at_line

Insert content at a specific line number in a file using a 1-based line numbering system. Specify the file path, line number, and content to insert.

Instructions

Insert content at a specific line number. Line number is 1-based.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file
lineYesLine number to insert at (1-based)
contentYesContent to insert

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/woohq/godette-mcp'

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