kronos_get_custom_fields
Retrieve the list of custom fields configured for a Kronos account, revealing their actual IDs and types to use correctly when creating or updating events.
Instructions
Получить список пользовательских полей записи, настроенных в аккаунте, GET /api/v1/custom-fields/{accountId}.
Нужно, чтобы узнать реальные id и типы кастомных полей перед тем как передавать custom_fields в kronos_create_event / kronos_update_event.
Args: params (GetCustomFieldsInput): filial_id, account_id (обязательны).
Returns: str: JSON-ответ Кронос как есть.
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": {
"params": "<params>"
},
"name": "kronos_get_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |