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

# Get File Size

**Type:** `lib.os.GetFileSize`

**Namespace:** `lib.os`

## Description

Get file size in bytes.
    files, metadata, size

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| path | `str` | Path to file | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `int` |  |

## Related Nodes

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