Opus Growth

Fetch File To Site

Downloads a file from a public URL DIRECTLY onto the hosting site, and RESIZES or CONVERTS images on the way in (resize, webp, avif, jpg, quality) — this is the only image processing available for a hosting server,…

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

ماذا يفعل

Downloads a file from a public URL DIRECTLY onto the hosting site, and RESIZES or CONVERTS images on the way in (resize, webp, avif, jpg, quality) — this is the only image processing available for a hosting server, because the container itself has no cwebp, no ImageMagick and no sharp. The CORE fetches the bytes (full internet + memory) and writes them to `path` under /data/site. It downloads the user's OWN images/logos/PDFs (any domain) or stock photos straight to the server, without base64-encoding or chunking large files through the chat. It also bypasses the sandbox's limited outbound DNS (shell `curl` in site_run_command reaches only whitelisted hosts like images.unsplash.com; site_fetch reaches ANY host). path is the destination inside the site (assets/img/hero.webp). Binary-safe, up to 20MB per file.

IMAGE PROCESSING happens before the file lands: resize accepts '1200x' (width, height follows the aspect ratio), 'x800' (height), '1200x800' (fit inside that box, never cropped or stretched) or '50%'; image_format converts to 'webp', 'jpg', 'png' or 'avif'; quality is 1-100 for the lossy formats (default 82). The hosting container has no cwebp, no ImageMagick and no sharp, so this is how a photo becomes a right-sized WebP — download a 4000px original and write a 1200px WebP in one call. Images are never enlarged past their real size; upscaling only adds bytes. Not for SVG: an SVG is written through untouched (it is already scalable), and it cannot be rasterised into a PNG favicon here — for that install sharp with site_run_command(background=true).

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

MCP: site_fetch

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

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

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

المعلمات

الاسمالنوعإلزاميالافتراضي
urlstringإلزامي·URL to read, use as a destination, or otherwise process as described by this operation.
pathstringإلزامي·Provider path, route, or resource-relative path to use for this operation.
serverstringاختياري·Name of the connected hosting server to target when more than one server is available.
sitestringاختياري·Identifier, key, or domain of the hosted site to target when more than one site is available.
resizestringاختياري·Exact resize value for site fetch. 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.
image_formatstringاختياري·Exact image format value for site fetch. 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.
qualityintegerاختياري0Numeric quality value for site fetch. Use the provider's expected unit, range, and precision.