⚠️ Hierarchy: assign listings
hierarchy_link_items_v1Assign Avito listings to an employee in the account hierarchy. Changes listing ownership within the managing account. Repeated calls reassign to a different employee.
Instructions
Assigns listings to an employee within the account hierarchy (link_items). Changes the ownership of listings inside the managing account: a repeated call reassigns them to a different employee. Irreversible operation (the previous assignment is not restored automatically); on success returns HTTP 204 with no body. Requires hierarchy permissions (the account-hierarchy plan); the user state can be checked via hierarchy_check_ah_user_v1, and the employeeId can be taken from hierarchy_get_employees_v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employeeId | Yes | ID of the hierarchy employee the listings are assigned to (employeeId from hierarchy_get_employees_v1). | |
| itemIds | Yes | List of Avito listing IDs to assign/reassign to the employee (from 1 to 50 elements). | |
| 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). | |
| 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 — this is safe by design. |