Deep Link Integration
Firebender supports deep links through thejetbrains://
protocol, allowing you to launch the IDE and pre-populate queries with specific prompts, models, and configurations. This is particularly useful for automation, shortcuts, and integrating Firebender with external tools.
Prerequisites
To use deep links, you need to have JetBrains Toolbox installed on your system. The Toolbox App registers thejetbrains://
protocol handler that enables deep link functionality across all JetBrains IDEs.
Download JetBrains Toolbox from: https://www.jetbrains.com/toolbox-app/
URL Format
Deep links follow this pattern:[ide]
can be any of the following JetBrains IDE identifiers:
idea
- IntelliJ IDEAstudio
- Android Studio
[parameters]
are URL-encoded query parameters
Supported Parameters
Parameter | Description | Example |
---|---|---|
prompt | The query text to populate in the chat | prompt=Fix+this+bug |
model | The model name or ID to use (case-insensitive) | model=claude-4-sonnet or model=gpt-5 |
mode | Query mode: Auto, Read, Write, or Composer (case insensitive) | mode=write |
project | Absolute path to project (must have been opened in IDE before to have .idea folder) | project=/Users/username/my-project |
newchat | Reset the chat session before executing (value doesn’t matter) | newchat |
Available Models
For a full list of available models, please visit our Models page.Example URLs
Basic Query
Launch with a simple prompt:Query with Specific Model
Use Claude for debugging assistance:Write Mode with GPT-5
Launch in Write mode for feature development:Read Mode for Code Explanation
Use Read mode to understand existing code:Fresh Chat Session
Start a new chat session:Complex Query
Multiple parameters combined:Integration Examples
Shell Scripts
Create shortcuts in your shell profile:Browser Bookmarks
Save frequently used queries as browser bookmarks for quick access:- Debug Helper:
jetbrains://studio/firebender/chat?prompt=Help+debug+this+issue&model=claude-4+sonnet
- Code Review:
jetbrains://idea/firebender/chat?prompt=Review+this+code&mode=read
- Feature Builder:
jetbrains://studio/firebender/chat?prompt=Build+new+feature&mode=write&newchat
External Tool Integration
Integrate with project management tools, CI/CD pipelines, or custom automation scripts to launch Firebender with context-specific queries.URL Encoding
Remember to URL-encode special characters in parameters:- Spaces:
+
or%20
- Ampersands:
%26
- Question marks:
%3F
- Hash symbols:
%23
Troubleshooting
If deep links aren’t working:- Check IDE Registration: Ensure your JetBrains IDE is properly registered to handle
jetbrains://
URLs - Verify Plugin Installation: Make sure the Firebender plugin is installed and enabled
- URL Format: Double-check the URL format and parameter encoding
- IDE Running: The target IDE should be running for optimal performance