Menu da documentação
Primeiros passos
O que é o Opus GrowthInício rápidoAdicione à sua IAComo funcionaSegurança e aprovaçãoCréditosPlanosPerguntas frequentesApps de IA
Todos os appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOutros MCPPlataformas de anúncios
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgências e MCCFontes de dados
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerSites e SEO
AI ServerWordPressSEO IntelligenceFraude de cliquesReferência de ferramentas
Todas as ferramentasGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceFraude de cliquesMulticanalConta e cobrançaIdioma
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.
Parâmetros
| Nome | Tipo | Obrigatório | Padrão | |
|---|---|---|---|---|
| path | string | Obrigatório | · | Provider path, route, or resource-relative path to use for this operation. |
| old_string | string | Obrigató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_string | string | Obrigató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. |
| server | string | Opcional | · | Name of the connected hosting server to target when more than one server is available. |
| replace_all | boolean | Opcional | false | Whether to enable replace all for this operation. |
| site | string | Opcional | · | Identifier, key, or domain of the hosted site to target when more than one site is available. |
Ferramentas relacionadas
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