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.

Tür
Değişiklik yapar
Kredi
1
Platform
AI Server
Onay
Önce önizleme, onayınızdan sonra uygulanır

Ne yapar

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.

Aracın açıklaması, yapay zekanın gördüğü resmi metin olduğu için İngilizcedir.

MCP: site_edit_file

Nasıl kullanılır

Araçları adıyla çağırmanız gerekmez. Opus Growth bağlı ChatGPT, Claude ya da başka bir asistana ne istediğinizi kendi cümlelerinizle yazın; uygun olduğunda yapay zeka bu aracı kendisi seçer.

Bu araç hesabınızda değişiklik yaptığı için asistanınız önce tam olarak neyin değişeceğini önizleme olarak gösterir. Siz onay vermeden hiçbir şey uygulanmaz; uygulanan her değişiklik denetim kaydınıza yazılır.

Parametreler

AdTürZorunluVarsayılan
pathstringZorunlu·Provider path, route, or resource-relative path to use for this operation.
old_stringstringZorunlu·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_stringstringZorunlu·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.
serverstringİsteğe bağlı·Name of the connected hosting server to target when more than one server is available.
replace_allbooleanİsteğe bağlıfalseWhether to enable replace all for this operation.
sitestringİsteğe bağlı·Identifier, key, or domain of the hosted site to target when more than one site is available.