Docs menu
Get started
What is Opus GrowthQuickstartAdd to your AIHow it worksSafety and approvalCreditsPlansFAQAI apps
All AI appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOther MCPConnect ad platforms
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencies and MCCConnect data sources
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWebsites and SEO
AI ServerWordPressSEO IntelligenceClick fraudTool reference
All toolsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceClick fraudCross-channelAccount and billingLanguage
Write Website File
Writes a TEXT file to the user's hosting website (HTML/CSS/JS/JSON/SVG) — creates it or overwrites.
- Type
- Makes changes
- Credits
- 1
- Platform
- AI Server
- Approval
- Preview first, applied after you approve
What it does
Writes a TEXT file to the user's hosting website (HTML/CSS/JS/JSON/SVG) — creates it or overwrites. Live immediately. No SFTP/SSH needed. IMAGES/BINARIES are not written here and base64 is not embedded in HTML. Passing image bytes through chat (as base64) burns huge amounts of tokens and can exhaust the context. site_fetch(url, 'assets/img/x.webp') downloads the file SERVER-SIDE (the bytes never enter the conversation), and HTML references it as <img src="/assets/img/x.webp">.
MCP: site_write_file
How to use it
You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.
Parameters
| Name | Type | Required | Default | |
|---|---|---|---|---|
| path | string | Required | · | Provider path, route, or resource-relative path to use for this operation. |
| content | string | Required | · | Main content body to create, analyse, or update in the format required by this operation. |
| server | string | Optional | · | Name of the connected hosting server to target when more than one server is available. |
| site | string | Optional | · | Identifier, key, or domain of the hosted site to target when more than one site is available. |
Related tools
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