Menu de la documentation
Bien démarrer
Qu'est-ce qu'Opus GrowthDémarrage rapideAjoutez-le à votre IAFonctionnementSécurité et validationCréditsOffresFAQApplications IA
Toutes les applicationsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfAutres MCPPlateformes publicitaires
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgences et MCCSources de données
Search ConsoleGoogle AnalyticsYouTubeProfil d'établissementTag ManagerSites et SEO
AI ServerWordPressSEO IntelligenceFraude au clicRéférence des outils
Tous les outilsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeProfil d'établissementTag ManagerWordPressAI ServerSEO IntelligenceFraude au clicMulticanalCompte et facturationLangue
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.
Paramètres
| Nom | Type | Obligatoire | Par défaut | |
|---|---|---|---|---|
| path | string | Obligatoire | · | Provider path, route, or resource-relative path to use for this operation. |
| old_string | string | Obligatoire | · | 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_string | string | Obligatoire | · | 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. |
| server | string | Facultatif | · | Name of the connected hosting server to target when more than one server is available. |
| replace_all | boolean | Facultatif | false | Whether to enable replace all for this operation. |
| site | string | Facultatif | · | Identifier, key, or domain of the hosted site to target when more than one site is available. |
Outils associés
add_siteSet Up Site Contact-Form Emailconfigure_site_smtpCreate Free Trial Websitecreate_trial_siteDeploy Site From ZIPdeploy_site_zipList Hosting Serverslist_serversList Websites On Serverlist_sitesRemove Website From Serverremove_siteInstall Site Starterscaffold_siteBlock Website Pathssite_block_paths