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.

النوع
يُجري تغييرات
الرصيد
1
المنصة
AI Server
الموافقة
معاينة أولًا، وتُطبَّق بعد موافقتك

ماذا يفعل

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.

وصف الأداة بالإنجليزية لأنه النص الرسمي الذي يراه الذكاء الاصطناعي.

MCP: site_edit_file

كيفية الاستخدام

لا تستدعي الأدوات بأسمائها. اكتب ما تريد في ChatGPT أو Claude أو أي مساعد متصل بـ Opus Growth بكلماتك، وسيختار الذكاء الاصطناعي هذه الأداة عندما تناسب.

لأن هذه الأداة تُغيّر حسابك، يعرض المساعد أولًا معاينة دقيقة لما سيتغير. لا يُطبَّق شيء قبل موافقتك، ويُسجَّل كل تغيير في سجل التدقيق.

المعلمات

الاسمالنوعإلزاميالافتراضي
pathstringإلزامي·Provider path, route, or resource-relative path to use for this operation.
old_stringstringإلزامي·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_stringstringإلزامي·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اختياري·Name of the connected hosting server to target when more than one server is available.
replace_allbooleanاختياريfalseWhether to enable replace all for this operation.
sitestringاختياري·Identifier, key, or domain of the hosted site to target when more than one site is available.