⚠️ Apply VAS
items_put_item_vasApply a single promotion service (highlight or XL) to an Avito listing. Charges the balance irreversibly; requires user confirmation.
Instructions
Applies ONE additional promotion service (VAS) to a listing (put_item_vas). ⚠️ MONEY: charges money from the balance; irreversible. The response contains service data and the charged amount. DEPRECATED: for one or more services, prefer items_apply_vas (v2); for a package of services, use items_put_item_vas_package_v2. First call items_post_vas_prices for the current slug and price. Confirm with the user. Note: an error does not guarantee the service was not purchased — check again in a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false). | |
| vas_id | Yes | Slug of a single VAS service: "highlight" or "xl". | |
| item_id | Yes | ID of the listing the service is applied to. | |
| user_id | No | ID of the owner user. Defaults to Profile_id from .env. | |
| idempotencyKey | No | v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error. Keys are stored as bounded SHA-256 fingerprints. |