execute_code
Run arbitrary 1C code in privileged server mode when no other tool fits. Assign the result to the variable Результат; avoid file, network, or session operations without user confirmation.
Instructions
Выполнить произвольный код на языке 1С. МОЩНЫЙ ИНСТРУМЕНТ — используй только когда другие инструменты не подходят. Код выполняется в привилегированном режиме на сервере 1С. Результат должен быть в переменной Результат (строка). ВАЖНО: не выполняй операции с файловой системой, внешними соединениями или завершением сеансов без явного подтверждения пользователя.
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": {
"code": "<code>"
},
"name": "execute_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Текст кода на языке 1С |