# When I write and run a prompt in Cursor IDE, what's passed in the context to the model (GPT/Claude/etc.)?

**URL:** <https://forum.cursor.com/t/when-i-write-and-run-a-prompt-in-cursor-ide-whats-passed-in-the-context-to-the-model-gpt-claude-etc/73915>\
**Category:** Help\
**Created:** [April 2, 2025, 12:04am UTC](https://forum.cursor.com/t/when-i-write-and-run-a-prompt-in-cursor-ide-whats-passed-in-the-context-to-the-model-gpt-claude-etc/73915 "2025-04-02T00:04:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franck-Dernoncourt](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/franck-dernoncourt/32/41151_2.png) [@Franck-Dernoncourt](https://forum.cursor.com/u/Franck-Dernoncourt)\
**Post date:** [April 2, 2025, 12:04am UTC](https://forum.cursor.com/t/when-i-write-and-run-a-prompt-in-cursor-ide-whats-passed-in-the-context-to-the-model-gpt-claude-etc/73915/1 "2025-04-02T00:04:51Z")

</div>

When I write and execute a prompt in Cursor IDE, what specific information is included in the context that gets sent to the underlying language model (such as GPT or Claude)? E.g., does it include previous messages, file contents, or other contextual data from the IDE?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:36am UTC](https://forum.cursor.com/t/when-i-write-and-run-a-prompt-in-cursor-ide-whats-passed-in-the-context-to-the-model-gpt-claude-etc/73915/2 "2026-06-18T10:36:36Z")

</div>

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


