Cmd. /copy
Copy a recent assistant response or selected code block.
Key takeaways
- Copy a recent assistant response or selected code block.
- Check the input surface and availability before using the examples below.
Purpose
Copy a recent assistant response or selected code block.
/copy [N]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Claude Code 2.1.278 |
The installed command menu and account or organization settings determine availability.
Examples
/copyEffects and persistence
Copies the selected response or supported content to the clipboard. Check the selected scope before pasting elsewhere.
Cautions
Check which response or code block you selected before pasting it into a ticket or shared document.