> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/reference/tools/paste-text/
> Documentation index: https://dea.dardanica.app/llms.txt

# paste_text

Paste text into a field instead of typing it, by running the browser's real Paste command (a trusted paste event carrying the clipboard). Use this for rich editors that ignore typed characters — Instagram's post caption is the classic case: type_text looks right but the caption saves blank, because the editor only commits text it receives via a real paste. Try paste_text when a typed value doesn't stick.

## Example

Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.


```json
{
  "selector": "@12",
  "text": "Example draft text"
}
```


## Usage notes

Use a current field reference or observed selector. Rich editors can still require blur or another application-specific commit action.

## Result

Pastes through the browser's trusted paste command and returns action outcome information.

Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `selector` | string | Yes | CSS selector, or a read_page ref like "12" / "@12" |
| `text` | string | Yes | See usage and full schema below. |
| `clear` | boolean | No | Clear the field first (default true) |
| `frame` | string | No | Act inside an iframe: selector of the <iframe> element (find_elements/read_page/get_page_text list them). Nested frames chain with " >> ", e.g. "#checkout >> iframe[name=card]". minLength: 1 |
| `tab` | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |


## Full input schema

The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.


```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector, or a read_page ref like \"12\" / \"@12\""
    },
    "text": {
      "type": "string"
    },
    "clear": {
      "description": "Clear the field first (default true)",
      "type": "boolean"
    },
    "frame": {
      "description": "Act inside an iframe: selector of the <iframe> element (find_elements/read_page/get_page_text list them). Nested frames chain with \" >> \", e.g. \"#checkout >> iframe[name=card]\".",
      "type": "string",
      "minLength": 1
    },
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "selector",
    "text"
  ],
  "additionalProperties": false
}
```


## Related documentation

[Reference conventions](https://dea.dardanica.app/docs/reference/) · [Agent operating guide](https://dea.dardanica.app/docs/agents/) · [Troubleshooting](https://dea.dardanica.app/docs/troubleshooting/)
