type_text
Types text into the element at the specified index, then returns an updated snapshot to reflect the new page state.
Instructions
Type text into the element with the given index. Returns a new snapshot.
Args: index: Element index from snapshot text: Text to type session_id: Session to act on (default: "default")
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": {
"index": "<index>",
"text": "<text>"
},
"name": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| index | Yes | ||
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |