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

# CreateDocument

> Generated from the Macro Rust tool registry.

# CreateDocument

Generated from the Macro Rust tool registry.

## Parameters

| Parameter       | Type    | Required | Description                                                    |
| --------------- | ------- | -------- | -------------------------------------------------------------- |
| `documentName`  | string  | Yes      | The name of the document without the file extension            |
| `fileContent`   | string  | Yes      | The string content of the document you are creating.           |
| `fileExtension` | string  | Yes      | The extension of the plaintext file you are creating.          |
| `isTask`        | boolean | Yes      | Whether this document is a task. Only applies to md documents. |
