> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-informaciyu-o-usluge.md).

# Действие ALTEGIO: Получить информацию о услуге

## Назначение

Получение подробной информации об услуге:\
название, цена, продолжительность, сотрудники, которые выполняют услугу.

## Когда используется

Функция вызывается, если пользователь спрашивает, например:

* «Сколько стоит маникюр?»
* «Сколько длится стрижка?»
* «Кто делает окрашивание?»

## Шаг 1. Имя и описание функции

**Рекомендуемое имя функции:** <kbd>get\_services\_info</kbd>

Использование данного имени рекомендуется, так как с ним протестирована корректная работа ИИ-агента.

**Рекомендуемое описание функции:**\ <kbd>Получить информацию об услуге.</kbd>

## Шаг 2. Добавление параметра функции

Для настройки необходимо добавить 1 параметр.

| Параметр      | Тип       | Рекомендуемая инструкция для параметра | Обязательный |
| ------------- | --------- | -------------------------------------- | ------------ |
| service\_name | Текстовый | Название услуги                        | Да           |

#### Настройка параметра service\_name

Настройка параметра `service_name` зависит от того, включена ли автоматическая загрузка услуг на странице интеграции — подробную информацию вы можете прочитать в [статье](/functional/functions/sending-result/yclients/nastroika-parametrov-specialist_name-i-service_name.md).

## Шаг 3. Выбор действия

В блоке «Выбор действия» в выпадающем списке выберите:

<kbd>**Получить информацию об услуге**</kbd>

## Шаг 4. Настройка основных параметров

В настройках действия сопоставьте поля:

В поле **«Название услуги**» → выберите параметр `service_name`

***

## Результат функции

Функция возвращает:

* Название;
* Цену;
* Продолжительность;
* Сотрудников, которые выполняют услугу.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-informaciyu-o-usluge.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
