How to copy a Swarmbot AI answer: full messages, code, or selected text

Since Swarmbot 1.2.153, Supervisor AI, Device AI, and the Script Assistant can copy a full message, copy one code block, or copy selected text from the context menu. Learn when to use each option.

In a Swarmbot AI conversation, use the copy icon beside a message for the whole answer, Copy code for one code block, or select a few lines and right-click to copy only that selection. These three options make it easier to save instructions, move a script into the editor, or send a concise finding to a teammate without cleaning up a long answer afterward. They are available in Supervisor AI, Device AI, and the Script Assistant.

The feature was introduced in Swarmbot 1.2.153 and was checked again against the current public 1.2.156 release. View the current Swarmbot release. 阅读中文版

Option 1: copy the full message

When the complete answer is useful, move to that message and select its copy icon. Once the interface shows Copied, paste it into a note, team chat, support ticket, or document.

Full-message copy is useful for:

  • saving a complete set of instructions from AI;
  • forwarding a troubleshooting recommendation to a teammate;
  • adding the conclusion of a conversation to a project record;
  • copying your own long request so you can revise and reuse it.

Swarmbot copies the text that is visible in that message. Internal context prepared for the AI is not silently added to the clipboard. Tool cards, images, and attachments are not flattened into an ordinary text message either. If you need a visible line from one of those areas, selecting the exact text is usually the better choice.

Option 2: copy one code block

When an AI answer contains a fenced code block, its toolbar shows the language and Copy code. Select it to copy only that block, preserving its text and line breaks without including the explanation before or after it.

Use Copy code when you want to:

  • move a Swarmbot script into the script editor;
  • save a Shell command as text for review;
  • copy JSON, JavaScript, or another configuration fragment;
  • compare several code blocks and take them one at a time.

Copy code only places text on this PC's clipboard. It does not run the code, choose devices, or dispatch a task. After pasting into the script editor, still review the target scope, parameters, and any action that can change data before you run it. The Swarmbot AI script development guide explains how to start with one small, verifiable step.

Option 3: copy a few lines from an answer

For a short excerpt:

  1. drag to select the text inside an AI message;
  2. right-click the selection;
  3. choose Copy selected text;
  4. paste it into the destination app.

You can also select text and press Ctrl+C. The Swarmbot context menu appears only when the selection belongs to the current chat message area, so it does not replace the normal editing menu inside the prompt box. Press Esc, click elsewhere, or scroll the conversation to close the menu.

This is the best option for taking one device ID, one error explanation, one step, or a short conclusion. It reduces cleanup and helps you avoid forwarding unrelated device details or conversation context.

Which computer receives the copied text?

The text goes to the clipboard of the computer running the Swarmbot desktop client, not to the clipboard of a backend server. You can then paste it into another application on that PC. The button briefly shows Copied when the action succeeds and provides a retry message if it fails.

Windows also offers clipboard history. Press Win+V to enable and view several recent clipboard items. Microsoft explains that clipboard history can retain multiple entries and pin items, while cross-device sync may copy text to other Windows devices signed in with the same Microsoft or work account. Read Microsoft's clipboard guidance.

Before copying account data, tokens, customer information, or device-private content, check whether clipboard history or cross-device sync is enabled on the PC. Remove sensitive items from Win+V when finished, or clear clipboard data in Windows Settings.

Which copy option should you use?

What you need Use What is copied
A complete answer Copy icon beside the message Visible text from that message
A script fragment for an editor Copy code in the code block One code block without surrounding explanation
A few lines to forward Select text, then right-click or press Ctrl+C Only the current selection

A useful rule is to decide how much context the recipient needs. Copy the full message for the complete reasoning, the code block for paste-ready text, or a selection for one concise finding.

Common questions

Nothing says Copied after I select the button

Try once more and check for a Copy failed message. If it still fails, bring Swarmbot to the foreground and try selecting text followed by Ctrl+C. You can also copy a short piece of ordinary text into Notepad to check whether the Windows clipboard itself is temporarily unavailable.

Why does copied code not run automatically?

That separation is intentional. Copying is a text action, not execution approval. Swarmbot will not run Shell, a script, or a device operation simply because you selected Copy code.

Why are images and tool cards missing from full-message copy?

The message copy button is for text. Images, uploaded files, and tool results have their own viewing or saving flows. If a card contains visible text you need, select that text directly.

Can I copy an entire conversation at once?

The current controls work message by message, giving you control over what leaves the conversation. For a multi-turn discussion, copying the key messages or the final conclusion and required steps is usually clearer than forwarding the complete raw history.

A practical workflow

After AI helps diagnose a device problem:

  1. copy the complete conclusion into the support ticket;
  2. select the symptom and failed step for the on-site teammate;
  3. copy any code block separately into the script editor for review;
  4. add the device scope, execution time, and final result to the ticket;
  5. clear sensitive clipboard entries when the handoff is complete.

The same AI answer can then support documentation, communication, and development without forcing every recipient to search through one large block of text.

The short version

Copy a whole answer from the message, a program fragment from Copy code, and a short conclusion from a text selection. All three actions copy text to the current computer; none of them automatically runs a device operation.

参考来源