Chat Interface
Context Attachments
Attach Blueprint nodes and assets to your prompts
Context attachments let you include specific information from your project in your prompts, giving the AI precise context about what you're working with.
Attachment Types
Blueprint Nodes
Attach specific nodes from a graph:
- Open a Blueprint graph
- Select one or more nodes
- Right-click > Attach to Agent Prompt
- The nodes appear in the attachment indicator
The attachment includes:
- Node type and name
- All pin values
- Connected nodes
- Relevant context
Blueprint Overview
Attach an entire Blueprint's structure:
- In Content Browser, right-click a Blueprint
- Select Attach to Agent Prompt
The attachment includes:
- Variables list
- Components hierarchy
- Functions and parameters
- Event dispatchers
Images
Attach screenshots or textures:
- Right-click an image asset
- Select Attach to Agent Prompt
Useful for:
- UI mockups
- Reference images
- Visual bug reports
Using Attachments
Viewing Attachments
The input area shows an attachment indicator:
- Click to see attached items
- Remove individual attachments
- Clear all attachments
Sending with Attachments
When you send a message:
- Attachments are serialized to context
- Included at the start of your message
- AI receives full context
Example Workflow
1. Open BP_Enemy EventGraph
2. Select the TakeDamage function nodes
3. Right-click > Attach to Agent Prompt
4. Type: "Refactor this to use an event dispatcher"
5. Send
The AI sees:
- Your selected nodes and their connections
- The surrounding context
- Your instructionSerialization Formats
Attachments are serialized for AI consumption:
Node Serialization
{
"nodeType": "K2Node_CallFunction",
"functionName": "TakeDamage",
"pins": [
{"name": "Amount", "type": "float", "value": "10.0", "connected": false},
{"name": "ReturnValue", "type": "bool", "connected": true, "connectedTo": "Branch.Condition"}
]
}Blueprint Overview
{
"name": "BP_Enemy",
"parentClass": "Character",
"variables": [
{"name": "Health", "type": "float", "default": "100.0"}
],
"components": [
{"name": "Mesh", "class": "SkeletalMeshComponent"}
]
}Tips
- Be selective: Attach only relevant nodes, not entire graphs
- Combine with text: Explain what you want done with the attachment
- Use for debugging: Attach problematic nodes for analysis
- Reference images: Attach mockups for UI work
- Clear when done: Remove attachments after use to avoid confusion