---
title: "File Exists"
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/lib/os/fileexists
markdown: https://docs.nodetool.ai/nodes/lib/os/fileexists.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/os/fileexists.md
---

# File Exists

**Type:** `lib.os.FileExists`

**Namespace:** `lib.os`

## Description

Check if a file or directory exists at the specified path.
    files, check, exists

    Use cases:
    - Validate file presence before processing
    - Implement conditional logic based on file existence

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| path | `str` | Path to check for existence | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `bool` |  |

## Related Nodes

Browse other nodes in the [lib.os](./) namespace.
