Paste text
paste_textInsert text into the focused window by copying it to the clipboard and pressing paste as one step — up to 8192 bytes of UTF-8, Linux desktops only.
Instructions
Put text on the desktop clipboard and press the paste shortcut, as one step: the fast way to insert up to 8192 bytes of UTF-8, including accents, CJK and emoji, into whatever has focus. Linux desktops only; Windows and a guest without working clipboard support are refused. The paste REPLACES the clipboard and leaves the text there — after pasting a secret, clear it with write_clipboard and text "". A success means the clipboard write and the shortcut were delivered, not that the application inserted the text (a paste-disabled field ignores it): check with a screenshot. An interrupted call may already have pasted, so look before sending it again, and do not fall back to type_text without looking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to paste: 1 to 8192 bytes of UTF-8, no NUL. | |
| context | No | Answer the desktop's windows, and which one has focus, as they stand just after the action — what list_windows would say, without a second call — and, when the focused window is Chromium, the page on screen: its URL, title and the interactive elements visible in it, each with the point to click. Read at once, so a window still opening may not be listed yet. If they cannot be read the action still happened, and the answer says why. | |
| shortcut | No | "ctrl+v" (the default) or "ctrl+shift+v", which terminals need. Shift+Insert is not offered: it can paste the separate primary selection instead. | |
| computer_id | No | Which computer. Defaults to the one selected with use_computer. |