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
Faz alterações
Créditos
1
Plataforma
AI Server
Aprovação
Prévia primeiro, aplicado após sua aprovação

O que faz

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.

A descrição está em inglês porque é o texto oficial que sua IA vê.

MCP: site_edit_file

Como usar

Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.

Como esta ferramenta altera sua conta, seu assistente mostra primeiro uma prévia exata da mudança. Nada é aplicado sem o seu sim, e cada alteração aplicada vai para o registro de auditoria.

Parâmetros

NomeTipoObrigatórioPadrão
pathstringObrigatório·Provider path, route, or resource-relative path to use for this operation.
old_stringstringObrigatório·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_stringstringObrigatório·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.