get_module_structure
Get module structure: variable declarations, procedures/functions with parameters, export flags, and main program section. Pass directory path plus optional object path or module name.
Instructions
Структура BSL-модуля: объявления переменных (Перем), процедуры и функции (имя, вид, Экспорт, директивы, докстринг, параметры, start/end строки) и секция основной программы (код после процедур). object_path — путь к объекту, module_name — подстрока имени файла модуля
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": {
"dir_path": "<dir_path>"
},
"name": "get_module_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir_path | Yes | ||
| module_name | No | ||
| object_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |