create_image_download
Создаёт ссылку на скачивание образа. type=timeweb — прямая ссылка на файл (без auth). type=google_drive или yandex — копирование в облако пользователя (нужен access_token). Процесс асинхронный.
This record as markdown: /tools/timeweb-mcp/create-image-download.md
What create_image_download does on Timeweb
AI agents use create_image_download to create or update resources in Timeweb, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Timeweb environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - тип ссылки: timeweb (по умолчанию), google_drive, yandex |
expiry | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - время истечения access_token (ISO8601 date-time) |
filename | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - имя файла для загрузки в облачное хранилище (например, 'backup.qcow2') |
image_id | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - ID образа |
token_type | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - тип токена доступа (по умолчанию Bearer) |
access_token | string | — | ОБЯЗАТЕЛЬНОЕ если type = google_drive или yandex - токен доступа к API облачного хранилища |
refresh_token | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - refresh token для обновления access_token |
Parameters from the server's own tool schema.
Why create_image_download is rated Medium
This tool creates new download links and may initiate cloud storage copy operations. While it doesn't permanently delete or move money, it creates resources and can trigger file operations to external cloud services (Google Drive, Yandex). The async nature and cloud integration add moderate blast radius—an agent could spam download links or overload user cloud storage.
From the tool's definition Tool name 'create_image_download' and description indicate it creates/generates a download link for an image. The description mentions it creates ('Создаёт ссылка') a download link, which is a modification/creation of a resource state.
Risk signalsAccepts file system path (filename) · Handles credentials or secrets (access_token)
Attacks that exploit this kind of access
The rule that runs create_image_download safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Timeweb, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_image_download, this is the rule to start with:
create_image_download stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Timeweb, apply this rule, and every create_image_download call is checked against it from then on.
Questions about create_image_download
Создаёт ссылку на скачивание образа. type=timeweb — прямая ссылка на файл (без auth). type=google_drive или yandex — копирование в облако пользователя (нужен access_token). Процесс асинхронный. It is categorised as a Write tool in the Timeweb MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_image_download accepts 7 parameters: type, expiry, filename, image_id, token_type, access_token, refresh_token. Required: image_id. The full parameter table on this page comes from the server's own tool schema.
Register the Timeweb MCP server in PolicyLayer and add a rule for create_image_download: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Timeweb. Nothing to install.
create_image_download is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_image_download rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_image_download. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_image_download is provided by the Timeweb MCP server (timeweb-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Timeweb, and thousands of servers like it.
This server
Across the catalogue