Создать или изменить тип заявок
requests_types_saveSaves a complete request type definition with name, description, fields, and workflow for the operbots panel; include the version from the type list when updating.
Instructions
Сохраняет полное определение типа: name, description, fields и workflow. При изменении обязательна version из requests_types_list; пропущенные description и fields станут пустыми. Проверки маршрута и прав на участников выполняет панель.
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": {
"name": "<name>",
"workflow": "<workflow>"
},
"name": "requests_types_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | Дело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели. | |
| name | Yes | ||
| fields | No | ||
| type_id | No | ||
| version | No | ||
| workflow | Yes | Маршрут целиком: steps и edges; from/to ссылаются на id шагов. | |
| description | No |