v1
latestOpenAPI 3.1.02026-07-13372867.8 KBeditor
View File Contents
Retrieves the contents of a file, optionally within a specified line range.
post/api/editor/view
Request body
Example request
{
"path": "/path/to/file.txt",
"view_range": [
1,
10
]
}Response
Successfully retrieved file contents
string required