Hierarchy: employee listings
hierarchy_list_items_by_employee_id_v1Fetch listing IDs assigned to a specific Avito hierarchy employee, filtered by category. Supports cursor-based pagination for large result sets.
Instructions
Returns the IDs of listings assigned to a specific hierarchy employee, filtered by category (list_items_by_employee). The response contains an items array and a hasNext flag for cursor-based pagination. Fetching listings for the company as a whole is not available — only per employee. Read-only. Requires hierarchy permissions; employeeId is taken from hierarchy_get_employees_v1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"employeeId": "<employeeId>",
"categoryId": "<categoryId>"
},
"name": "hierarchy_list_items_by_employee_id_v1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | Yes | Avito category ID for filtering the employee's listings. | |
| employeeId | Yes | ID of the hierarchy employee whose listings are requested (employeeId from hierarchy_get_employees_v1). | |
| lastItemId | No | Pagination cursor: the ID of the last listing from the previous page. Omit for the first page; keep going while hasNext=true. |