odata_query
Query 1C entities via OData 3.0 with support for filtering, selecting, expanding, ordering, pagination, and inline count.
Instructions
Произвольный OData 3.0 запрос к любой сущности 1С. Поддерживает $filter, $select, $expand, $orderby, $top, $skip, $inlinecount.
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": {
"entity": "<entity>"
},
"name": "odata_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | OData-сущность (например, Catalog_Номенклатура, Document_СчётНаОплатуПокупателю) | |
| filter | No | $filter | |
| select | No | $select | |
| expand | No | $expand для связанных таблиц | |
| top | No | $top | |
| skip | No | $skip | |
| orderby | No | $orderby | |
| inlinecount | No | Добавить $inlinecount=allpages |