Copy a response with /copy in Grok Build
Copy a response with /copy in Grok Build
/copy [N] copies the last (or Nth-latest) response to the clipboard. Official: Modes and Commands.
Run it
- Open a Grok Build session (
grokin the project, or resume withgrok -c). - After the agent answers, type
/copyand send to put the last response on the clipboard. - For an earlier answer, pass an index:
/copy 2for the 2nd-latest,/copy 3for the 3rd-latest, and so on.
/copy
/copy 2
Paste into your editor or terminal with the usual paste shortcut for your OS.
Related copy paths
| Control | What it does |
|---|---|
/copy [N] |
Copy the last (or Nth-latest) response to the clipboard |
/export |
Export the conversation to a file or clipboard |
Scrollback y / Shift+Y |
Copy content / command from scrollback (Keyboard Shortcuts) |
Pitfalls
- Omitting the index when you meant an older turn — bare
/copyalways takes the latest response. - Confusing
/copywith/export—/exportships the whole conversation;/copytargets one response.