How to use the Context Tags
When chatting with GameDev Assistant, your open scene nodes and file tree are automatically added as context with your prompts. However, other details of your project are not to avoid overwhelming the AI. How, then, can you send additional context like your scripts?
This is where context tags come in - which can be added via the Add button under the chat box.
Context tags allow you to send specific contexts with your prompt when and where they're needed. You simply just need to add the tag. Currently, the available contexts that can be added are below:
Context Tag | What it Sends |
@OpenScripts | As the name suggests, this sends the content of any scripts you currently have open in the Godot editor. This is great if you need to ask questions about your code, or even need a specific script edited. |
@Output | This sends any messages that might appear in the Output window (but not the Debugger window). This can be very useful for helping with debugging errors that appear in this window. |
@Docs | While the AI is already working off the Godot Documentation, you can use this tag to force Godot to look at specific topics and articles. |
@GitDiff | If you're using Git for version control, this will pass in the contents of the 'git diff' command. |
@ProjectSettings | This will pass in project settings you have for your project, including the Input Map. |
Related Articles
Prompting Tips for GameDev Assistant
The quality of AI responses often comes down to your specific prompt - and GameDev Assistant is no different in that regard. In this article, we'll provide some tips for writing good prompts so you can get the most out of this Godot co-pilot! Want ...
What is the size/length of context that GameDev Assistant can handle for scripts?
While actual values depend on whether you're using the non-reasoning or reasoning model - and other factors such as other content you're sending - the estimated cut-off for context is about 75,000 characters. Once this limit is reached, any script ...
Do I need to know Godot to use GameDev Assistant?
While technically anyone can use GameDev Assistant, we do recommend users have at least some experience with Godot before using the tool. As GameDev Assistant was designed as a coding co-pilot (and not an autopilot), knowing Godot can help greatly in ...
I told GameDev Assistant to use tabs/spaces for the coding, but it didn't do what I asked. Why?
Whether due to personal preferences or style requirements for the project, sometimes you'll need to have scripts that either specifically use tabs or spaces for indentation. Unfortunately, even if you provide the AI with specific instructions for ...
Can I use GameDev Assistant with a locally installed LLM or my own API key?
GameDev Assistant does not support local LLMs or third-party API keys. The service is a multi-agent system running on our server, which relies on a combination of large language models used for different things. To function properly, it requires full ...