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.

Type
Effectue des modifications
Crédits
1
Plateforme
AI Server
Validation
Aperçu d'abord, appliqué après validation

Ce qu'il fait

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 description est en anglais car c'est le texte officiel que voit votre IA.

MCP: site_edit_file

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Comme cet outil modifie votre compte, votre assistant affiche d'abord un aperçu exact du changement. Rien n'est appliqué sans votre accord et chaque modification est inscrite au journal d'audit.

Paramètres

NomTypeObligatoirePar défaut
pathstringObligatoire·Provider path, route, or resource-relative path to use for this operation.
old_stringstringObligatoire·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_stringstringObligatoire·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.
serverstringFacultatif·Name of the connected hosting server to target when more than one server is available.
replace_allbooleanFacultatiffalseWhether to enable replace all for this operation.
sitestringFacultatif·Identifier, key, or domain of the hosted site to target when more than one site is available.