← MCP Catalog

android_type_replace_text

Find and replace text in a field by typing the replacement naturally. Finds the first occurrence of search text, selects and deletes it, then types new_text character by character via InputConnection. If `new_text` is empty, only deletes the found text (delete-only mode).

MCPAndroid AuthorizationOAuth on device

Parameters

node_idstring · required

Target node ID

searchstring · required

Text to find in the field (first occurrence, max 10000 characters)

new_textstring · required

Replacement text to type (max 2000 characters). Can be empty to just delete the found text

typing_speedinteger · default 250

Base delay between characters in ms (min: 10, max: 5000)

typing_speed_varianceinteger · default 50

Random variance in ms, clamped to [0, typing_speed]