---
title: "Document File Input"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/input/documentfileinput
markdown: https://docs.nodetool.ai/nodes/nodetool/input/documentfileinput.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/input/documentfileinput.md
---

# Document File Input

**Type:** `nodetool.input.DocumentFileInput`

**Namespace:** `nodetool.input`

## Description

Accepts a local file path pointing to a document and converts it into a 'DocumentRef'.
    input, parameter, document, file, path, local_file, load

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| name | `str` | The parameter name for the workflow. | `` |
| value | `str` | The path to the document file. | `` |
| description | `str` | The description of the input for the workflow. | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| document | `document` |  |
| path | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.input](./) namespace.
