editor
Insert Text
Inserts text at a specified line number in a file.
POST
Body
application/json
File path to modify
Example:
"/path/to/file.txt"
Text to insert
Example:
"New line of text"
Line number to insert at (1-based)
Example:
5
Response
204
_mintlify/placeholder
Successfully inserted text