Opus Growth

Edit Website File

Makes a SMALL, surgical edit to an existing text file by replacing an exact string — WITHOUT resending the whole file.

Tipo
Hace cambios
Créditos
1
Plataforma
AI Server
Aprobación
Primero vista previa, se aplica tras tu aprobación

Qué hace

Makes a SMALL, surgical edit to an existing text file by replacing an exact string — WITHOUT resending the whole file. It applies small edits (a heading, a Tailwind class, a price) without resending the whole file, unlike site_write_file, which takes the entire file every time. `old_string` must match the file EXACTLY and be UNIQUE (with enough surrounding context), unless replace_all=true. For a brand-new file use site_write_file instead.

La descripción está en inglés porque es el texto oficial que ve tu IA.

MCP: site_edit_file

Cómo usarla

No llamas a las herramientas por su nombre. Escribe lo que quieres en ChatGPT, Claude u otro asistente conectado a Opus Growth; la IA elige esta herramienta cuando encaja.

Como esta herramienta cambia tu cuenta, tu asistente muestra primero una vista previa exacta del cambio. Nada se aplica sin tu sí y cada cambio aplicado queda en tu registro de auditoría.

Parámetros

NombreTipoObligatorioPor defecto
pathstringObligatorio·Provider path, route, or resource-relative path to use for this operation.
old_stringstringObligatorio·Exact old string value for site edit file. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.
new_stringstringObligatorio·Exact new string value for site edit file. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.
serverstringOpcional·Name of the connected hosting server to target when more than one server is available.
replace_allbooleanOpcionalfalseWhether to enable replace all for this operation.
sitestringOpcional·Identifier, key, or domain of the hosted site to target when more than one site is available.