Skip to main content
Glama

string_replace

Replace specific text patterns within strings using search and replace parameters. This tool modifies text by substituting defined search terms with replacement values, optionally applying changes globally throughout the input.

Instructions

Replace text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
searchYes
replaceYes
replace_allNo

Latest Blog Posts

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/xiaobenyang-com/Text-Toolkit'

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