Skip to main content
Returns a message indicating success or failure, including the absolute path of the file.

Parameters

target_file
string
required
The absolute path of the file to create or rewrite.
content
string
The content to write to the file. Defaults to empty.