Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reads an existing regular file inside the workspace in binary mode and returns its bytes as a Lua string.
readfile(path: string): string
readfileasync
path
string
content
local path = "examples/config.json" writefile(path, '{"enabled":true}') local content = readfile(path) print(content) print(#content)