b24_lists_get
Retrieve list definitions (IBLOCK_ID, NAME) for a given information-block type in Bitrix24. Use the returned IBLOCK_ID with b24_lists_element_list to read records.
Instructions
List the available Lists of a given type (lists.get).
Returns the list definitions (IBLOCK_ID, NAME, ...). Use an IBLOCK_ID with b24_lists_element_list to read its records.
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": {
"iblock_type_id": "<iblock_type_id>"
},
"name": "b24_lists_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iblock_code | No | Optional list code to fetch a single list. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| iblock_type_id | Yes | Information-block type, e.g. 'lists' (portal lists), 'bitrix_processes' (workflows), 'lists_socnet' (group lists). | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |