Метод validateDto
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
29–50
~/bitrix/modulesim/lib/V2/Integration/AiAssistant/Tools/Support/ImToolContext.php
Исходный код
Сигнатура метода
public function validateDto(object $dto, string $message = 'Invalid tool input. Check the parameter values against the tool schema and try again.'): void
Возвращает:
void
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$dto
|
object
|
-
|
-
|
$message
|
string
|
'Invalid tool input. Check the parameter values against the tool schema and try again.'
|
-
|