esp_paste
Pastes Unicode text into the active field by updating the clipboard and sending a paste shortcut; cancels if clipboard or focus changes to prevent unintended pastes.
Instructions
Paste text through the clipboard: any Unicode (emoji, other scripts), as fast as one shortcut. Puts the text on the clipboard (excluded from clipboard history) and presses ctrl+v once in the foreground window. The text replaces the user's clipboard and stays there. Off unless the user enabled it (paste_disabled: use esp_type). Nothing is pasted when the clipboard or the foreground window changes first (clipboard_changed, focus_changed). Click into the target field first and check the screen.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"control_id": "<control_id>"
},
"name": "esp_paste"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to paste, 1..100000 characters, any Unicode (emoji, other scripts). "\n" becomes a line break. It replaces the user's clipboard and stays there. | |
| combo | No | The paste shortcut (esp_keys notation), default "ctrl+v"; e.g. "shift+insert" or "ctrl+shift+v" for terminals that need it. | |
| control_id | Yes | From esp_control begin. | |
| request_id | No | Optional idempotency key: repeating a call with the same request_id within 5 min returns the first receipt (also an uncertain one) without running the action again. |