# Parse file tree to assistant

**URL:** <https://forum.cursor.com/t/parse-file-tree-to-assistant/25507>\
**Category:** Help\
**Created:** [October 30, 2024, 4:47pm UTC](https://forum.cursor.com/t/parse-file-tree-to-assistant/25507 "2024-10-30T16:47:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenryAllen04](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/henryallen04/32/9720_2.png) [@HenryAllen04](https://forum.cursor.com/u/HenryAllen04)\
**Post date:** [October 30, 2024, 4:47pm UTC](https://forum.cursor.com/t/parse-file-tree-to-assistant/25507/1 "2024-10-30T16:47:28Z")

</div>

1. how can I show cursor what my file tree looks like without doing a ss, when I ask cursor for the tree it infers it from code and is wrong.

---

<div class="post-metadata">

**Author:** ![kir1l](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kir1l/32/10601_2.png) [@kir1l](https://forum.cursor.com/u/kir1l)\
**Post date:** [November 2, 2024, 5:22pm UTC](https://forum.cursor.com/t/parse-file-tree-to-assistant/25507/2 "2024-11-02T17:22:50Z")

</div>

Ask ai to generate python code that takes path to root folder, san it and throw into a tree

---

<div class="post-metadata">

**Author:** ![Daadian99](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/daadian99/32/10603_2.png) [@Daadian99](https://forum.cursor.com/u/Daadian99)\
**Post date:** [November 2, 2024, 5:52pm UTC](https://forum.cursor.com/t/parse-file-tree-to-assistant/25507/3 "2024-11-02T17:52:32Z")

</div>

I export my tree to a text file and give that to Claude. In fact that and a fresh schema of the database I am working with are the first things Claude gets.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:18am UTC](https://forum.cursor.com/t/parse-file-tree-to-assistant/25507/4 "2026-06-18T10:18:47Z")

</div>

Closed on June 18, 2026, 10:18am UTC


