create_image
Создаёт образ: (а) снапшот существующего диска сервера (disk_id), (б) импорт qcow2/iso по upload_url, либо (в) пустой слот для последующей загрузки (без disk_id и upload_url — тогда заливай файл через HTTP). Процесс асинхронный, отслеживать через get_image.
This record as markdown: /tools/timeweb-mcp/create-image.md
What create_image does on Timeweb
AI agents use create_image 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 |
|---|---|---|---|
os | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - операционная система образа. Для кастомного образа обычно 'other' или 'custom_os' |
name | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - имя образа |
disk_id | integer | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - ID диска сервера, для которого создаётся образ (снапшот). Если указан — образ создаётся из диска, upload_url не нужен |
location | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - локация, в которой будет создан образ |
upload_url | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - ссылка для загрузки образа (qcow2/iso). Используется для импорта стороннего образа. Не указывать вместе с disk_id |
description | string | — | НЕ ОБЯЗАТЕЛЬНОЕ ПОЛЕ - описание образа |
Parameters from the server's own tool schema.
Why create_image is rated Medium
The tool creates new disk image artifacts in the cloud infrastructure, which is a reversible Write operation. While snapshots and image uploads are persistent, they can be deleted or replaced (distinct from Destructive). The severity is high because malicious image creation could consume resources, introduce compromised OS images, or enable unauthorized VM instantiation.
From the tool's definition Tool creates ("Создаёт") disk snapshots, imports disk images (qcow2/iso), or creates empty image slots for subsequent upload. These are persistent storage creation operations that modify cloud infrastructure state.
Attacks that exploit this kind of access
The rule that runs create_image 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, this is the rule to start with:
create_image 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 call is checked against it from then on.
Questions about create_image
Создаёт образ: (а) снапшот существующего диска сервера (disk_id), (б) импорт qcow2/iso по upload_url, либо (в) пустой слот для последующей загрузки (без disk_id и upload_url — тогда заливай файл через HTTP). Процесс асинхронный, отслеживать через get_image. 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 accepts 6 parameters: os, name, disk_id, location, upload_url, description. Required: os, location. 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: 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 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 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. 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 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