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.

Typ
Nimmt Änderungen vor
Credits
1
Plattform
AI Server
Freigabe
Erst Vorschau, nach Ihrer Freigabe angewendet

Was es tut

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.

Die Tool-Beschreibung ist englisch, weil sie der offizielle Text ist, den Ihre KI sieht.

MCP: site_edit_file

So nutzen Sie es

Sie rufen Tools nicht beim Namen auf. Schreiben Sie in ChatGPT, Claude oder einem anderen mit Opus Growth verbundenen Assistenten, was Sie möchten; die KI wählt dieses Tool, wenn es passt.

Da dieses Tool Ihr Konto ändert, zeigt Ihr Assistent zuerst eine Vorschau der genauen Änderung. Ohne Ihre Zustimmung wird nichts angewendet, und jede Änderung landet im Audit-Log.

Parameter

NameTypPflichtStandard
pathstringPflicht·Provider path, route, or resource-relative path to use for this operation.
old_stringstringPflicht·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_stringstringPflicht·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.
serverstringOptional·Name of the connected hosting server to target when more than one server is available.
replace_allbooleanOptionalfalseWhether to enable replace all for this operation.
sitestringOptional·Identifier, key, or domain of the hosted site to target when more than one site is available.