session_type
Types text character-by-character to fire authentic keystroke events, enabling inputs that ignore standard fills, such as live-search fields and per-character validators.
Instructions
Type text one character at a time, firing the key events a real keyboard would. Use this instead of session_fill when a field only reacts to keystrokes — search boxes with live suggestions, autocompletes, and inputs with per-character validation. Returns {typed} with the number of characters sent. Slower than session_fill, so reach for it only when session_fill leaves the page unchanged.
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": {
"selector": "<selector>",
"text": "<text>"
},
"name": "session_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A ref from session_snapshot, such as @e12, used instead of selector | |
| text | Yes | Text to type, one character at a time | |
| tabId | No | Tab to act on; uses the active tab when omitted | |
| selector | Yes | CSS selector for the field to type into |