| 1 | --- |
| 2 | title: "Context Selection" |
| 3 | description: "Learn how Continue's agent mode selects relevant code context using file content, language server definitions, imports, and recent file history." |
| 4 | --- |
| 5 | |
| 6 | You can use the same methods to manually add context as [Chat](/features/chat/context-selection). |
| 7 | |
| 8 | Tool call responses are automatically included as context items. This enables Agent mode to see the result of the previous action and decide what to do next. |