Skip to main content
Glama

MQScript MCP Server

by allegiant

mqscript_replace

Replace specified text patterns within strings during mobile automation scripting, enabling dynamic content modification in UI interactions and script execution.

Instructions

Replace occurrences of substring with new text

Input Schema

NameRequiredDescriptionDefault
countNoNumber of replacements (optional, -1 for all)
replaceTextYesReplacement text
resultVariableNoVariable name to store resultresult
searchTextYesText to search for
textYesSource string

Input Schema (JSON Schema)

{ "properties": { "count": { "default": -1, "description": "Number of replacements (optional, -1 for all)", "type": "number" }, "replaceText": { "description": "Replacement text", "type": "string" }, "resultVariable": { "default": "result", "description": "Variable name to store result", "type": "string" }, "searchText": { "description": "Text to search for", "type": "string" }, "text": { "description": "Source string", "type": "string" } }, "required": [ "text", "searchText", "replaceText" ], "type": "object" }

Other Tools from MQScript MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/allegiant/MQScript_MCP'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server