> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create file

> Create a new file or rewrite an existing one with the provided content.

Returns a message indicating success or failure, including the absolute path of the file.

## Parameters

<ParamField path="target_file" type="string" required={true}>
  The absolute path of the file to create or rewrite.
</ParamField>

<ParamField path="content" type="string" default={""}>
  The content to write to the file. Defaults to empty.
</ParamField>
