Start free

MCP tool catalog

Every tool, resource and prompt of the business account server, from the code: domain, risk class, confirmation, sandbox and parameters

126 min read Admin panel demo
On this page 18

Cenaly business account MCP tool catalog

Everything the business account MCP server /llm/mcp/account can do: every tool with its domain, risk class, confirmation mode, sandbox behaviour and parameters. How to connect your own AI — see Your AI works with Cenaly; ready-made scenarios — in the playbooks.

In this article: summary by domain, how to read the catalog, account, accounting, management, bank, crm, documents, tasks, mail, kb, site, ops, data, partners, mcp resources, mcp prompts.

Summary by domain#

Domain Total R0 / R1 / R2 In the sandbox
account Account and locations 2 2 / 0 / 0 2
accounting Accounting (Cenaly Books v2) 44 33 / 5 / 6 7
management Management accounting 7 6 / 0 / 1 3
bank Counterparties → Bank 8 5 / 1 / 2 0
crm CRM and B2B documents 26 18 / 6 / 2 2
documents Documents 17 11 / 5 / 1 4
tasks Team tasks and work chat 18 8 / 10 / 0 6
mail Mail 8 5 / 2 / 1 5
kb Knowledge base 12 5 / 5 / 2 5
site Storefront, website and marketing 26 17 / 6 / 3 4
ops Daily operations 21 19 / 2 / 0 3
data Storage data 6 3 / 0 / 3 0
partners Partner programme (brand root only) 7 3 / 3 / 1 0
Total 202 135 / 45 / 22 41

How to read the catalog#

Risk class Meaning
R0 read-only: queries, searches, reports, previews; allowed in the read-only mode (account:read)
R1 reversible write or draft (tasks, drafts, notes, stop-list) or a paid AI call; refused in account:read
R2 money, outbound, delete, publishing or period close; refused in account:read, the assistant asks you first
Confirmation Meaning
none no extra step — runs with the rights of the token
hint runs with the rights of the token, but the description tells the assistant to get your explicit consent first
token_optional has a paired preview returning a confirmToken; without a token the call runs directly, a passed token is verified strictly
token_required mandatory two steps: preview → confirmToken → call; without a token — 409 confirm_token_required
Sandbox Meaning
read answers from the demo business
session changes the demo data of your sandbox session only
preview returns a dryRun preview, nothing changes
not_in_sandbox returns not_in_sandbox — needs a real account
hidden not listed in the sandbox

Rights for every call are checked by the Cenaly service itself — the same as yours in the admin app: a staff member sees and changes only what their role allows.

account — Account and locations#

Locations of the account and the list of MCP endpoints (incl. the optional telephony server). (2: 2 / 0 / 0)

Tool Purpose Risk Confirmation Sandbox
list_locations List locations R0 none read
list_mcp_endpoints Cenaly MCP endpoints R0 none read

list_locations#

Risk: R0 · Confirmation: none · Sandbox: read

List the business locations (points/venues) of your account and those shared with you: locationId, name, your role, ownerId and public domain. Use the locationId/domain with the files_* tools.

Parameters: no parameters.

list_mcp_endpoints#

Risk: R0 · Confirmation: none · Sandbox: read

All MCP servers for this brand: this business MCP and the separate telephony/call-center MCP (/pbx-api/mcp) with how to connect it — use it for calls, recordings and PBX settings.

Parameters: no parameters.

accounting — Accounting (Cenaly Books v2)#

Cenaly Books v2: legal entities, books (mgmt/statutory/tax/ifrs), chart of accounts, postings, book bank, primary documents, cash orders, tax worksheets, forms, month-end close, reconciliations. (44: 33 / 5 / 6)

Tool Purpose Risk Confirmation Sandbox
books_actions Accountant to-do list R0 none not_in_sandbox
books_adjustment_action Adjustment workflow action R2 · money hint preview
books_adjustment_save Save adjustment draft R1 none preview
books_adjustments Adjustments R0 none not_in_sandbox
books_assets_list Fixed assets register R0 none not_in_sandbox
books_bank_decide Change book bank R2 · money hint preview
books_bank_lines Book bank lines R0 none read
books_bank_v2_decide Apply bank v2 decision R2 · money token_optional session
books_bank_v2_preview Preview bank v2 decision R0 none read
books_cash_order_create Create or post cash order R2 · money hint preview
books_cash_orders_list Cash orders R0 none not_in_sandbox
books_chart Chart of accounts R0 none read
books_close_action Month-end close action R2 · period close token_required preview
books_close_status Month-end close status R0 none not_in_sandbox
books_completeness Source data completeness R0 none not_in_sandbox
books_entities Accounting entities and books R0 none read
books_exception_resolve Resolve accounting exception R1 none preview
books_exceptions_list Accounting exceptions R0 none not_in_sandbox
books_expense_journal_list Expense journal R0 none not_in_sandbox
books_expense_journal_save Change expense journal R2 · money hint preview
books_form_draft Save form draft R1 none preview
books_form_get Regulatory form R0 none not_in_sandbox
books_forms_list Regulatory forms catalog R0 none not_in_sandbox
books_journal_event Journal event postings R0 none not_in_sandbox
books_journal_events Journal events R0 none not_in_sandbox
books_ledger_lines Book ledger lines and turnover R0 none not_in_sandbox
books_list Books of the entity R0 none not_in_sandbox
books_money_summary Money matrix R0 none not_in_sandbox
books_opening_get Opening balances R0 none not_in_sandbox
books_opening_import_preview Preview trial-balance import R0 none not_in_sandbox
books_operations_import_drafts Create drafts from operations R1 none preview
books_operations_import_preview Preview operations import R0 none not_in_sandbox
books_payment_calendar Payment calendar R0 none not_in_sandbox
books_policy_get Accounting policy R0 none not_in_sandbox
books_postings Book postings R0 none read
books_readiness Accounting readiness R0 none not_in_sandbox
books_reconciliations Payment reconciliations R0 none not_in_sandbox
books_registers_list Valuation registers R0 none not_in_sandbox
books_reports Accounting reports R0 none read
books_settlement_link Link settlements R1 none preview
books_settlements Settlement sub-ledgers R0 none not_in_sandbox
books_statements Financial statements R0 none not_in_sandbox
books_stock_recon Book inventory and reconciliation R0 none not_in_sandbox
books_tax_worksheets Tax worksheets R0 none not_in_sandbox

books_actions#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

The accountant’s to-do list for a month (что сделать): prioritized actions with severity (blocker/high/medium/low), due date, overdue flag, count, amount, the right needed (requiredRight) and whether the caller can do it (canExecute). Cached for 30 s — refresh=true to recompute. Read-only.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
refresh boolean

books_adjustment_action#

Risk: R2 (money) · Confirmation: hint · Sandbox: preview

Move an adjustment along its workflow: review (проверка) → approve (одобрение, a different person than the author when the policy requires) → post (проводка в журнал) → void (отмена, needs voidReason). post and void CHANGE THE ACCOUNTING JOURNAL — ALWAYS ask the user to confirm before post/void/approve. Rights are enforced per book and month by the service.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
id (required) string
action (required) "review" | "approve" | "post" | "void"
version number Version you reviewed; a changed case answers 409.
voidReason string Required for void.

books_adjustment_save#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a DRAFT adjustment (черновик ручной проводки) or edit one (pass id; omitted fields are kept from the existing case). Any edit drops review/approval. Lines: each {account, dc:"D"|"C", amount (major units string) or amountMinor, memo?, dims?}; debits must equal credits. Nothing is posted until books_adjustment_action post. Confirm the lines with the user first — this changes the accounting records.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
id string Existing adjustment id to edit; omit to create.
kind "judgement" | "reclassification" | "estimate" | "error" | "opening" | "autoReversal" Required on create.
effectiveDate string Accounting date YYYY-MM-DD (required on create).
currency string Case currency, e.g. RUB (required on create).
fxRate string Rate to the book functional currency (required for foreign currency).
reason string Reason/justification (основание) — required on create.
lines array
attachments array Supporting files [{ref, hash:"sha256:…", title?}].
calculation object {ref, hash, calculator?, note?}
reversal object Auto-reversal schedule {on:"YYYY-MM-DD", key?}.
reversalOf string kind=autoReversal: id of the reversed adjustment.
postBalanceSheet "adjusting" | "non_adjusting"
version number Edit: the version you saw (conflict check). Defaults to the current one.

books_adjustments#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Adjustments (корректировки = ручные проводки с согласованием, Books v2). Without id: list for a month/status. With id: the case with its history, approval policy and a PREVIEW of the postings it will produce. Status flow: draft → reviewed → approved → posted (or voided).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
id string Adjustment id (adj-…); omit to list.
period string Month YYYY-MM.
status "draft" | "reviewed" | "approved" | "posted" | "voided"

books_assets_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Fixed and intangible assets of the book for a month: register vs the asset accounts, depreciation journal of the month, purchase lines that may be assets («is this an asset?»), net book values.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
period string Month YYYY-MM (default: current month).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.

books_bank_decide#

Risk: R2 (money) · Confirmation: hint · Sandbox: preview

Change the bank of the book — this changes the accounting, ask the user before calling (кроме чтения, это меняет бухгалтерию). Actions: classify — set the class (класс строки) of a bank line: this IS the edit of the line’s posting, the book re-posts its BankLine document by the class (attrs — реквизиты класса, e.g. counterparty/taxId; see classes[].required); learn {counterparty,text,amount} also remembers a classifier rule so similar lines are classified automatically; comment is stored. clear — remove the human decision of a line. confirm_match / reject_match — accept/reject the suggested pair line↔document (specId + matchId from the line). rule — enable/disable/delete a classifier rule (ruleId + ruleAction). set_balance — manual statement balance of an account on a date (accountKey, date, amount). recon — re-run reconciliation for months (months). upload — upload a statement file (fileName + contentBase64 or content text, optional profileId). The result may be {queued:true} (applied asynchronously): re-read books_bank_lines after a few seconds.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
action (required) "classify" | "clear" | "confirm_match" | "reject_match" | "rule" | "set_balance" | "recon" | "upload"
month string classify/clear: month YYYY-MM of the line (first 7 chars of its date).
itemId string classify/clear: line itemId (starts with "bank:") from books_bank_lines.
class string classify: class id from books_bank_lines include=["classes"].
attrs object classify: class attributes (key ≤40 chars without space / : |, value ≤120).
learn object classify: also learn a rule matching by these features.
comment string
specId string confirm_match/reject_match: reconciliation spec id of the suggested pair.
matchId string confirm_match/reject_match: match id of the suggested pair.
ruleId string
ruleAction "enable" | "disable" | "delete"
accountKey string set_balance: bank account key.
date string set_balance: YYYY-MM-DD.
amount string set_balance: balance in major units, e.g. "1234.50" (or pass amountMinor).
amountMinor number set_balance: balance in minor units.
currency string set_balance: currency code for converting amount (default 2 decimals).
months array recon: 1–12 months YYYY-MM.
fileName string upload: statement file name.
contentBase64 string upload: file body as base64 (max 4 MB).
content string upload: file body as plain text (csv, 1C, MT940…).
profileId string upload: statement profile id (omit to auto-detect).
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.

books_bank_lines#

Risk: R0 · Confirmation: none · Sandbox: read

Bank statement lines of the book for a month (банк книги: строки выписки со статусом сверки и проводки). Status: matched (узнана парой с документом), suggested (предложена пара — confirm_match/reject_match), classified (класс выбран), proposed (правило предложило класс), waiting (ждёт документа), incomplete (не хватает реквизитов, см. missing), unclassified (не узнана — нужен class). Each line has itemId (needed to change it), class, docItem (документ-пара), inLedger/post (проведена ли в книгу). Use include=["classes"] to get the allowed classes (классы строк) for books_bank_decide, "rules" for the learned classifier rules, "balances" for statement-vs-book balances (остатки «выписка↔книга») and "imports" for recent uploads.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
period string Month YYYY-MM (default: current month).
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
status "matched" | "suggested" | "classified" | "proposed" | "waiting" | "incomplete" | "unclassified" Only lines in this status.
accountKey string Only lines of this bank account (ключ счёта из include=balances).
direction "in" | "out" in = поступления, out = списания.
text string Case-insensitive substring of the line text (назначение/контрагент).
limit number Lines per page, 1–200 (default 50).
offset number Skip this many lines (use nextOffset from the previous page).
include array<"classes" | "rules" | "balances" | "imports"> Reference data to attach.

books_bank_v2_decide#

Risk: R2 (money) · Confirmation: token_optional · Sandbox: session

Apply a Bank v2 decision to a book bank line — CHANGES THE ACCOUNTING IN ALL BOOKS of the entity (needs acct.review in each of them for the month). Call books_bank_v2_preview first, show the user the postings and impact, ask; then pass its decideArgs exactly plus its confirmToken. expectedRevision, sourceFingerprint and contextHash protect against changes since the preview (409 revision_conflict / source_changed / preview_stale → preview again). clear:true removes the decision (a new cleared revision). On the AWS contour the book applies it asynchronously ({queued: …} — re-read in a few seconds); on cenaly.ru (Yandex) the answer is the synchronous result.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
month (required) string
itemId (required) string
kind string
facts object
allocations array
evidenceRefs array
reason string
clear boolean
expectedRevision (required) number
sourceFingerprint (required) string
contextHash string contextHash of the preview (sha256:…).
commandId string Optional; by default derived from the arguments (a retry is idempotent).
confirmToken string confirmToken of books_bank_v2_preview.

books_bank_v2_preview#

Risk: R0 · Confirmation: none · Sandbox: read

Bank v2 decision of a book bank line (учётное решение по банковской операции, Books v2). Without decision: the context of the line — current revision, decision state, history, catalog of decision kinds/facts/reasons and what the caller may do. With decision {kind, facts?, allocations?, evidenceRefs?}: a dry run — postings, impact on every book, contextHash; when canDecide is true it also returns decideArgs and a confirmToken (15 min) for books_bank_v2_decide. Nothing is written. If gate is "decision_v2_disabled", Bank v2 is not switched on in this contour — use books_bank_decide (classify) instead.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
month (required) string Month YYYY-MM of the line.
itemId (required) string Line itemId from books_bank_lines.
decision object
reason string Reason to carry into decideArgs (≤500).

books_cash_order_create#

Risk: R2 (money) · Confirmation: hint · Sandbox: preview

Cash orders (ПКО — side in, РКО — side out) — CHANGES THE CASH BOOK AND ACCOUNTING, needs acct.post: first call with dryRun:true (validates, suggests the cash-flow article and shows problems, nothing is written), show it to the user and ask; then call again without dryRun: post:false saves a draft, post:true saves and posts. action=post {orderId, version?} posts a draft; action=void {orderId, reason, version?} voids an order (аннулирование). Edit a draft — pass its id and version. On the AWS contour the book applies it asynchronously ({queued: …} — re-read in a few seconds); on cenaly.ru (Yandex) the answer is the synchronous result.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
action "create" | "post" | "void" Default create.
dryRun boolean create: only validate and preview.
post boolean create: post right after saving.
orderId string post/void: order id.
reason string void: reason (required).
id string create: id of an existing draft to edit.
version number Version you saw (conflict check).
side "in" | "out"
date string YYYY-MM-DD.
cashAccount string Cash account (leaf of the chart, e.g. 1110).
register string Cash register (измерение register).
location string
corrAccount string Corresponding account.
amount string Major units, e.g. "500.00" (or amountMinor).
amountMinor number
currency string Default: functional currency of the book.
fxRate string
counterparty string Counterparty id.
employee string Employee id (accountable person).
cashFlowItem string Cash-flow article id (suggested by dryRun).
partyName string «Принято от» / «Выдать».
basis string Основание.
appendix string
idDocument string РКО: recipient’s ID document.
cashier string
cashierName string
lang string

books_cash_orders_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Cash orders (кассовые ордера ПКО/РКО) of a Books v2 book: view=orders (default) — orders of a month with cash accounts and cash-flow articles; view=order — one order (orderId) with its print form; view=cash_book — the cash book sheet (кассовая книга) of a cash account (account) for from..to dates. Only books on charts with cash sub-accounts support orders (409 cash_orders_unsupported otherwise).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
view "orders" | "order" | "cash_book"
period string Month YYYY-MM.
orderId string
account string cash_book: cash account code (e.g. 1110).
from string cash_book: YYYY-MM-DD.
to string cash_book: YYYY-MM-DD.
lang string

books_chart#

Risk: R0 · Confirmation: none · Sandbox: read

Chart of accounts of a book (план счетов и аналитики книги, Books v1 and v2): account codes, names, kind, normal side, parent, whether postable, analytic dimensions (dims) and the statutory plan id. Use it before writing postings, cash orders or adjustments to pick valid leaf accounts. locale — language of account names (ru, en, ka, …).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM of the plan edition (default: current).
locale string

books_close_action#

Risk: R2 (period close) · Confirmation: token_required — token required when: action ∈ {hardClose, lock, reopen} or override = true · Sandbox: preview

Run period-end jobs, soft-close, approve a run, hard-close, lock or reopen a month. Changes the books — ask the user first. hardClose/lock/reopen/override need confirmToken: call with dryRun:true, show the preview, then repeat with the token.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
period (required) string Month YYYY-MM.
action (required) "runJobs" | "softClose" | "approve" | "hardClose" | "lock" | "reopen" runJobs — post period-end jobs (acct.post); softClose — close the month (acct.close); approve — approve a close run (runId); hardClose — final close; lock — archive lock, irreversible; reopen — reopen a closed month (owner only, comment required).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
comment string Reason (required for reopen and for override). ≤ 2000 chars.
override boolean Close over failed checks (needs acct.close.override and a comment).
runId string Close run id (books_close_status → lastRun.id) — for approve, or to commit a softClose of that run.
dryRun boolean Only preview: checklist state and, for hardClose/lock/reopen/override, a confirmToken (15 min).
confirmToken string Token from the dryRun preview with the SAME arguments.

books_close_status#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Month-end close of a book: state (open/softClosed/hardClosed/locked), readiness %, checklist with blockers and warnings, period-end jobs (depreciation, FX, accruals), corrections, last close run and what the caller may do.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
period string Month YYYY-MM (default: previous month).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
full boolean Return the full checklist items (default: compact items).

books_completeness#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Completeness of source data for a month (полнота первички: банк, касса/POS, расходы, зарплата, склад) with a verdict complete/incomplete/warning and the gaps per source. Without period — two reports: previous and current month. Books v2 only.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
period string Month YYYY-MM.

books_entities#

Risk: R0 · Confirmation: none · Sandbox: read

START HERE for accounting (бухгалтерия, Cenaly Books). Without entityId: lists the account’s legal entities (юрлица) with their ids. With entityId: the caller’s accounting rights, the setup/status of the books (пакет страны, валюта, период, настроена ли книга) and the list of books (книги) with ids for the book argument of the other books_* tools. Staff accounts cannot list entities — ask the owner for the entityId.

Parameters Type Description
entityId string Legal entity id (юрлицо организации) — from books_entities.
period string Month YYYY-MM.

books_exception_resolve#

Risk: R1 · Confirmation: none · Sandbox: preview

Act on an accounting exception (needs the acct.review right in its book): accept — accept as is (comment REQUIRED for a blocker), assign — to assignee, snooze — until a date, reopen, resolve — with a module action kind (attach_document, reopen_source, set_reason…). Tell the user what you will do first. On the AWS contour the book applies it asynchronously ({queued: …} — re-read in a few seconds); on cenaly.ru (Yandex) the answer is the synchronous result.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
id (required) string Exception id from books_exceptions_list.
action (required) "accept" | "assign" | "snooze" | "reopen" | "resolve"
kind string resolve: the module action.
comment string ≤2000 chars; required to accept a blocker.
assignee string assign: employee id.
until string snooze: YYYY-MM-DD.

books_exceptions_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Queue of accounting exceptions (исключения и расхождения учёта: непривязанные банковские строки, нет документа, расхождения сверок…) with severity and the allowed actions. status: active (default: open + snoozed past due), open, snoozed, resolved, accepted, closed, all. kind — one exception kind. Only books where the caller may read are shown.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
status "active" | "open" | "snoozed" | "resolved" | "accepted" | "closed" | "all"
kind string

books_expense_journal_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Expense journal (журнал расходов, первичка) and references: view=journal (default) — expense records of the entity for a month with book sync status (synced/stale/missing), attachments and the checklist of documents (docs="missing" — only records lacking documents); view=articles — expense articles for a location (locationId); view=advance_report — advance report of accountable persons (подотчётные лица; employee filter, Books v2).

Parameters Type Description
view "journal" | "articles" | "advance_report"
entityId string journal / advance_report: legal entity id.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
from string advance_report: YYYY-MM-DD.
to string advance_report: YYYY-MM-DD.
employee string advance_report: employee id.
docs "missing"
locationId string articles: location id.
limit number journal: records shown, 1–200 (default 100).

books_expense_journal_save#

Risk: R2 (money) · Confirmation: hint · Sandbox: preview

Change the expense journal (журнал расходов) — it feeds P&L and the books of the location’s entities: ASK THE USER before calling. action=add {record: {locationId, date YYYY-MM-DD, category rent|salary|purchases|utilities|marketing|taxes|other, amount (major units), currency?, entityId?, article?, costCenter?, note?, counterparty?{id,name,taxId}, payment?{method,paidAt}, tax?[], documents?[]}} (id is generated when omitted; a repeated identical record returns 409 already_exists); action=update {id, set?, unset?, baseVersion?}; action=remove {id, baseVersion?} (marks the record void, the trace is kept). Rights: owner, acct.review on the entity, or staff with Edit on Finance/Accounting of that location.

Parameters Type Description
action (required) "add" | "update" | "remove"
record object add: the new record.
id string update/remove: record id.
set object update: fields to set.
unset array update: optional fields to remove.
baseVersion string Version you saw (conflict check → 409 stale_version).

books_form_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Save an immutable DRAFT instance of a regulatory form for a period from the current books (with manual settings). Nothing is filed with the authority; approval and filing stay in the app. Ask the user first.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
formId (required) string Form id from books_forms_list.
period (required) string Period id matching the form periodicity.
settings object Manual inputs of the form (keys from books_form_get → userSettings), values as strings.
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
locale string Language of labels: en, ru, ka, tr, … (default: the pack language).

books_form_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

A regulatory form for a period: live fill from the current books (values, validation issues, explain of a cell), or saved instances (drafts/final) of the period, or one instance by id. Books v2.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
formId (required) string Form id from books_forms_list.
period (required) string Period id matching the form periodicity: YYYY, YYYY-Qn, YYYY-Hn or YYYY-MM.
view "live" | "instances" live (default) — fill now; instances — saved instances of the period.
instanceId string One saved instance (fi-…) — overrides view.
explain string Field/cell address to explain (live view).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
locale string Language of labels: en, ru, ka, tr, … (default: the pack language).

books_forms_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Regulatory forms and tax returns that apply to the legal entity by its country pack (VAT, profit, payroll, statistics…): id, code, authority, periodicity, formats and saved instances of the period. Books v2.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
period string Period id: YYYY, YYYY-Qn, YYYY-Hn or YYYY-MM (instances of that period).
locale string Language of labels: en, ru, ka, tr, … (default: the pack language).

books_journal_event#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One journal event by docId: the source document metadata and ALL its postings (проводки: entries → lines with account, debit/credit side increase, amount, counterparty, memo). Use it to see which postings a bank line / invoice / adjustment produced.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
docId (required) string
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.

books_journal_events#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Accounting journal events (журнал событий: документы-основания проводок) of the book, newest first. Filters: period YYYY-MM, readiness (готовность: posted/pending/…, see readiness counters in the answer), kind, q (text/doc id search). Each row has docId — pass it to books_journal_event to see its postings.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
readiness string
kind string
q string
limit number 1–100 (default 25).
offset number

books_ledger_lines#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Read model of a Books v2 book, paged by cursor: view=lines — posting lines (проводки) with filters account / counterparty / docId; view=turnover — turnover per account (обороты, ОСВ книги); view=accounts — account balances (остатки счетов). Window: year YYYY (default: latest year of the view) and from/to months YYYY-MM inside it. exclude — closing stages to leave out (e.g. ["closing","reformation"]); all=true — also inactive lines. Pass next of the previous answer as cursor; 409 stale means the view was rebuilt — start again without cursor. Amounts are minor units (amountMajor is added where the currency is known).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id; omit to use the primary book.
view "lines" | "turnover" | "accounts"
year string Fiscal year YYYY.
from string From month YYYY-MM (inside year).
to string To month YYYY-MM (inside year).
account string lines: account code.
counterparty string lines: counterparty id.
docId string lines: source document id.
exclude array Closing stages to exclude.
all boolean lines: include inactive (reversed/voided) lines.
limit number 1–200 (default 100).
cursor string next of the previous page.

books_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Books of the legal entity (каталог книг: управленческая, статутарная, налоговая…) visible to the caller: id, kind, basis, currency, chart, primary, lifecycle, capabilities. With book: the card of one book plus the summary of its read model (витрина: revision, years). Read-only.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.

books_money_summary#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Money by day and source (cash, card acquirer, delivery platforms, bank): expected, received, fees, in transit, difference. With source (and day) — the problem lines of that cell first.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
from string YYYY-MM-DD (default: 1st of the month of to).
to string YYYY-MM-DD (default: today; range ≤ 400 days).
source string Source key from the summary — lines of this source.
day string YYYY-MM-DD — with source: lines of that day.
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.

books_opening_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Opening balances of the books (входящие остатки): mode=manual — the manual opening sheet (дата, валюта, строки, сбалансированность); mode=import — status and result of the last trial-balance (ОСВ) import into a Books v2 book (1С, Excel…); both (default) — both. formats=true also lists the import formats of the book.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
mode "manual" | "import" | "both"
formats boolean

books_opening_import_preview#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

DRY RUN of a trial-balance (ОСВ) import into a Books v2 book: parses the file, maps accounts and counterparties, shows the opening entries and problems — nothing is written. The service still requires the acct.settings right in the book (403 book_forbidden otherwise). The posting itself is done by the user in Учёт → Перенос остатков. asOf — balance date YYYY-MM-DD; balance — closing (default) or opening column; format — import format id (default 1C).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
fileBase64 string File body as base64 (XLSX/CSV, max 4 MB through MCP).
name string File name, e.g. osv_2025.xlsx.
asOf (required) string Balance date YYYY-MM-DD.
balance "closing" | "opening"
locationId string
format string Import format id (see books_opening_get formats=true).
formatParams object
rules array Account mapping rules.
levels array
openItems object Register of open settlement documents {file?|rows?, columns?…}.
quantities object Register of stock quantities {file?|rows?, columns?…}.

books_operations_import_drafts#

Risk: R1 · Confirmation: none · Sandbox: preview

Create DRAFT adjustments (черновики бухгалтерских справок) from a table of manual operations — same arguments as books_operations_import_preview, run it first. Nothing is posted until each draft goes through books_adjustment_action. Needs acct.post on every month of the table; idempotent (re-sending the same table does not duplicate drafts). 422 operations_import_not_ready — fix the problems shown by the preview.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
fileBase64 string File body as base64 (XLSX/CSV, max 4 MB through MCP).
rows array Instead of a file: table rows, each {document, date YYYY-MM-DD, debitAccount, creditAccount, amount "250.00", currency, fxRate?, description?} (≤500 operations).
name string
sheet number
decimal "," | "."
columns object
kind "judgement" | "reclassification" | "estimate"
reason string
batch string

books_operations_import_preview#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

DRY RUN of importing manual accounting operations (таблица ручных операций: дата, документ, дебет, кредит, сумма) into a Books v2 book: parsed operations, problems, months and readiness — nothing is written. Pass a file (fileBase64, XLSX/CSV) or rows. kind of the future drafts: judgement (default) | reclassification | estimate.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
fileBase64 string File body as base64 (XLSX/CSV, max 4 MB through MCP).
rows array Instead of a file: table rows, each {document, date YYYY-MM-DD, debitAccount, creditAccount, amount "250.00", currency, fxRate?, description?} (≤500 operations).
name string
sheet number XLSX sheet number from 1 (default first).
decimal "," | "."
columns object Field → column header or letter.
kind "judgement" | "reclassification" | "estimate"
reason string
batch string Numbering space of document ids (1–64 chars).

books_payment_calendar#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Cash forecast: opening balance, daily inflows/outflows, first cash gap, minimum balance, planned items, payment requests awaiting approval, recurring payments and payment orders. Read only.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
from string YYYY-MM-DD (default: today).
to string YYYY-MM-DD (default: from + 30 days).
includeSubmitted boolean Include not yet approved payment requests (default true).

books_policy_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Accounting policy of the entity: options of the pack, values in force on a date with version history; with Books v2 also the policy document draft (editions, approved versions) and the adjustment policy of the book.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
date string YYYY-MM-DD — policy in force on this date (default: today).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
edition string Policy document edition (Books v2).
include array<"document" | "adjustment"> Extra Books v2 parts (default ["document"]).

books_postings#

Risk: R0 · Confirmation: none · Sandbox: read

Paged postings of one book (проводки книги, Books v2). view=lines (default): posting lines filtered by period range (from/to YYYY-MM), account, counterparty, docId; view=turnover: turnovers per account (обороты); view=accounts: the chart of accounts (план счетов). Pass next from the previous answer as cursor. Without Books v2 for the entity, use books_journal_event for the postings of a document.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id; omit to use the primary book.
view "lines" | "turnover" | "accounts"
year string Fiscal year YYYY (default: latest in the view).
from string From month YYYY-MM.
to string To month YYYY-MM.
account string
counterparty string
docId string
limit number 1–200 (default 50).
cursor string next of the previous page.

books_readiness#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Is the accounting ready to use for a month (готовность учёта): engine (v1/v2), availability state and who can fix it, the caller’s rights in the book, country pack, capability states of the pack (vat.return, usn, …), coverage of source data and freshness of the book view. capability — check one capability id of the pack.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
capability string Capability id of the country pack.

books_reconciliations#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Month reconciliation of card acquiring (POS ↔ acquirer ↔ bank, fees), delivery/marketplace platforms (orders ↔ report ↔ payouts, contract fee) or fiscal Z-reports (Z ↔ acquirer by day and location).

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
kind (required) "acquiring" | "platforms" | "fiscal_days"
period string Month YYYY-MM (default: current month).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.

books_registers_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Books v2 registers: leases (IFRS 16), loans, valuation (provisions, impairment, NRV, ECL, deferred tax), calculation runs of period-end jobs, subsequent events (IAS 10). List or one record with schedule and approvals.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
register (required) "leases" | "loans" | "valuation" | "calculations" | "subsequent_events"
id string Record id (lease, loan, valuation record) or calculation run id.
valuationKind "provisions" | "impairment" | "nrv" | "ecl" | "deferredtax" valuation: register kind (required with id).
period string Month YYYY-MM (calculations: required; valuation record: schedule month).
jobKind string calculations: job kind filter (lease_accrual, loan_interest, deferred_tax…).
fy string subsequent_events: fiscal year start YYYY (default: all years).
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.

books_reports#

Risk: R0 · Confirmation: none · Sandbox: read

Accounting reports (отчёты): trial-balance (ОСВ, default), general-ledger (главная книга — карточка счёта, pass account), pnl (P&L). period = YYYY-MM | YYYY-Qn | YYYY. Optional filters: location, costCenter, channel, itemCategory, counterparty (use "~" for "not set"). Amounts in the model are minor units. Large reports are truncated — narrow with filters.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
report "trial-balance" | "general-ledger" | "pnl"
period string YYYY-MM | YYYY-Qn | YYYY (default: current month).
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
account string general-ledger: account code.
accounts string
detail string
by string pnl: breakdown dimension.
zero string "1" to include zero rows.
location string
costCenter string
channel string
itemCategory string
counterparty string
locale "ru" | "en" | "ka"

Risk: R1 · Confirmation: none · Sandbox: preview

Run the settlements engine: action=link — (re)link payments to the documents they settle (привязать платежи к документам; deterministic, closes paid-off items), action=check — verify the invariant "sub-ledger = account" for a month (period required). Idempotent, but it writes reconciliation results to the journal: ask the user first.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
action (required) "link" | "check"
period string check: month YYYY-MM.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.

books_settlements#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Settlement sub-ledgers (подкниги расчётов): side=payables (кредиторка, поставщики) or receivables (дебиторка, покупатели) for a month — debt age by counterparty, documents and the payments linked to them, the check "subledger = control account". Use it to see which payments are linked to which invoices in the books.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо организации) — from books_entities.
book string Book id (книга: управленческая/статутарная/налоговая/МСФО…) from books_entities → books[].id. Omit for the default book of the entity.
period string Month YYYY-MM.
side "payables" | "receivables"

books_statements#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Financial statements of a book by the country pack forms: balance sheet, P&L, equity, cash flow for a year or a month-end, with checks and explain of a line (line → accounts → postings). view=annual_package — the annual reporting package.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
view "statements" | "annual_package" Default statements.
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
year string Fiscal year YYYY (annual statements; annual_package default: last year).
month string Month YYYY-MM — statements as of the month end (not with year).
set string Statement set id of the pack (optional).
explain string Line address to explain (from the statement lines).
locale string Language of labels: en, ru, ka, tr, … (default: the pack language).

books_stock_recon#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Inventory in the book: check (default) — reconciliation of warehouse valuation vs the book and anomalies; balances as of a date; journal or moves for a date range — by location, warehouse, product.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
view "check" | "balances" | "journal" | "moves" check (default) | balances (asOf) | journal | moves (from, to).
from string YYYY-MM-DD (journal, moves).
to string YYYY-MM-DD (journal, moves).
asOf string YYYY-MM-DD (balances).
location string Location id.
warehouse string Warehouse id.
product string Product id.
section string Stock section of the pack (optional).
limit number Rows per page (1–500, default 100).
offset number
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.

books_tax_worksheets#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

National tax worksheets of the entity: VAT return, profit tax queue and return, annual property/income taxes, small-business regime, USN ledger, withholding, threshold radar, taxpayer registry check. Not in the pack — capability_not_in_pack.

Parameters Type Description
entityId (required) string Legal entity id (юрлицо) — from books_entities.
kind (required) "vat" | "profit" | "profit_return" | "annual" | "small_business" | "usn" | "withholding" | "radar" | "taxpayer_check"
period string Month YYYY-MM (vat, profit, profit_return, small_business, withholding).
year string Year YYYY (annual, usn).
cell string vat / profit_return: cell id to explain.
depth number vat / profit_return: explain depth (1–5).
form string vat: form variant of the pack (e.g. KDV-1).
taxType string vat: tax type of the pack.
explain string annual: "total" or an asset id.
usnView "rows" | "coverage" | "queue" | "adjustments" | "settings" usn: rows (default), coverage, queue, adjustments, settings.
quarter string usn rows: Q1–Q4.
month string usn coverage: YYYY-MM.
status string usn rows filter.
source string usn rows filter.
side string usn rows filter: income | expense.
q string usn rows: text search.
limit number usn rows page size (1–500, default 100).
cursor string usn rows: next page cursor.
taxId string taxpayer_check: a counterparty tax id instead of the entity itself.
date string taxpayer_check: as of date YYYY-MM-DD.
refresh boolean taxpayer_check: query the public registry again instead of the cache.
book string Book id (statutory / tax / management / IFRS…) from books_entities → books[].id. Omit for the default book.
locale string Language of labels: en, ru, ka, tr, … (default: the pack language).

management — Management accounting#

Management accounting: P&L/cash-flow articles and cost centres, projects, budgets, plan-vs-actual, bridge between books. (7: 6 / 0 / 1)

Tool Purpose Risk Confirmation Sandbox
books_bridge_get Book bridge (management ↔ statutory ↔ IFRS) R0 none not_in_sandbox
books_budget_planfact Budget plan vs actual R0 none not_in_sandbox
books_budgets_list Budgets R0 none not_in_sandbox
books_mgmt_project_save Save or delete a management project R2 · delete token_required preview
books_mgmt_projects_list Management projects R0 none read
books_mgmt_report Management report (P&L, cash flow, plan-fact) R0 none read
books_mgmt_structure Management structure (articles, cost centers) R0 none read

books_bridge_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Explains the difference between two books for a period: target = source + recognition + measurement + classification + fx + manual + unexplained. line or facts:"all" — down to documents. queued:true — recalculation started, retry shortly.

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
from string Source book id (e.g. ru_stat, ge_stat, mgmt). Omit both to use the only mapped pair.
to string Target book id (e.g. ifrs, mgmt).
period string YYYY-MM | YYYY-Qn | YYYY (default current month).
currency string ISO 4217; currency of one of the two books (default target book).
line string One bridge line with its documents.
facts "all" All lines with documents (may be too large).

books_budget_planfact#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Plan vs actual of a budget by article × cost center × month (cash budgets — with cash balances). explain:true lists the book facts behind a cell (filter month/article/center/noCenter).

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
budgetId (required) string
version integer Plan version (default latest).
baseline string Baseline version number or "none" (forecasts default to the approved baseline).
explain boolean
month string explain filter, YYYY-MM.
article string explain filter: article id.
center string explain filter: cost center id.
noCenter boolean explain filter: lines without a cost center.

books_budgets_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Budgets of the management book (P&L or cash-flow): headers and versions with scenario/status. With budgetId — that budget with the lines of one version (default latest).

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
budgetId string Budget id from the list; omit to list all.
version integer With budgetId: version number (default latest).

books_mgmt_project_save#

Risk: R2 (delete) · Confirmation: token_required — token required when: op='delete' · Sandbox: preview

op=put creates/updates a project (omitted fields keep current values; updating needs baseRev). op=delete: first dryRun:true, show the preview, ask the user, then repeat the same args with confirmToken. Ask the user before any change.

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
op (required) "put" | "delete"
baseRev integer rev from books_mgmt_projects_list (required to update or delete an existing project).
project object op=put. id: a-z0-9._- (≤64); name ≤120; from/to YYYY-MM; match: 1–20 conditions, each with at least one field.
id string op=delete: project id.
dryRun boolean op=delete: preview and confirmToken, nothing is deleted.
confirmToken string op=delete: token from the dryRun preview.

books_mgmt_projects_list#

Risk: R0 · Confirmation: none · Sandbox: read

Management projects (a slice of the management book by cost center, location, department or counterparty for a term). Returns rev — pass it as baseRev to books_mgmt_project_save. P&L of a project: books_mgmt_report.

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
q string Filter by id or name substring.
includeArchived boolean Default true.
limit integer Default 50, max 200.
offset integer

books_mgmt_report#

Risk: R0 · Confirmation: none · Sandbox: read

Management report of the book for months from..to (≤36): view pnl | cashflow | planfact (needs budget) | bridge | breakeven | all. Filters: location, project (pnl only). explain:true — book entries behind a cell. Amounts — minor units + *Major.

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
from string YYYY-MM (default current month).
to string YYYY-MM (default = from).
view array<"pnl" | "cashflow" | "planfact" | "bridge" | "breakeven" | "all"> Default pnl+cashflow (pnl with project).
project string Project id (books_mgmt_projects_list): P&L of the project only.
location string Location id filter.
budget string Budget id for planfact.
version integer
baseline string
target integer breakeven: target profit in minor units.
explain boolean
article string explain filter.
center string explain filter (cost center).
month string explain filter, YYYY-MM.
line string explain filter: bridge line (revenue | cogs | opex. | unmapped).
snap string Pin the snapshot id from a previous answer.

books_mgmt_structure#

Risk: R0 · Confirmation: none · Sandbox: read

Management directory of a legal entity: P&L and cash-flow articles, cost centers (ЦФО) tree and account bindings, version effective in month (default latest). initialized:false — not set up yet.

Parameters Type Description
entityId (required) string Legal entity id (from books_entities).
book string Management book id; omit to use the management book of the entity.
month string YYYY-MM: directory version effective in this month.
history boolean Include all historical versions in full (large).

bank — Counterparties → Bank#

Counterparties → Bank: bank accounts and statements of a location, operation search, linking payments to documents, bank sync (Russia). (8: 5 / 1 / 2)

Tool Purpose Risk Confirmation Sandbox
bank_get_operation Bank operation details R0 none not_in_sandbox
bank_import_status Statement import status R0 none not_in_sandbox
bank_link_operations Link payments to counterparties R2 · money hint preview
bank_list_accounts Bank accounts and statements R0 none not_in_sandbox
bank_refresh Refresh statements from the bank R2 · integration hint preview
bank_search_operations Search bank operations R0 none not_in_sandbox
bank_suggest_links Suggest payment links R0 none not_in_sandbox
bank_upload_statement Upload a bank statement file R1 none preview

bank_get_operation#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One bank operation in full (all fields, untruncated purpose) with its link status and, if it is not linked yet, the matcher suggestion: the counterparty (and invoice) the system thinks the payment belongs to, with confidence and the reason (doc-ref = invoice number in the purpose, inn-amount, inn, name).

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
accountKey (required) string
month (required) string YYYY-MM of the operation (the row has it).
opId (required) string

bank_import_status#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Progress / result of a statement import started by bank_upload_statement (or the latest imports when uploadId is omitted): stage, operations added, duplicates skipped, errors, needMapping + sample for unrecognised tables.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
uploadId string

Risk: R2 (money) · Confirmation: hint · Sandbox: preview

LINK bank payments to counterparties and, optionally, to a specific document. This POSTS MONEY into the counterparty ledger (incoming → receivables book: customer payment, outgoing → payables book: payment to a supplier) — ask the user to confirm the list before calling. Each item: opId + month (from the operation row), counterpartyId and optionally docId (an invoice of that counterparty from crm_find_documents; without it the payment is allocated oldest-first / as an advance). mode "manual" (default) = you chose the counterparty (up to 50 items); mode "confirm_suggestions" = confirm what bank_suggest_links returned (up to 200 items). Idempotent per operation (a repeated call answers duplicate:true, nothing is posted twice). A rejection is per item in results[].error (already_reconciled, counterparty_not_found, doc_not_found, doc_counterparty_mismatch, not_supplier, bill_voided, currency_mismatch, party_ambiguous (then pass partyId — the legal entity that owns the account), doc_party_mismatch…). There is no unlink through MCP: a wrong link is corrected in the counterparty ledger in the admin app.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
accountKey (required) string
mode "manual" | "confirm_suggestions" Default manual.
partyId string Our legal entity for the whole batch, only when the account owner is not identified (party_ambiguous).
items (required) array

bank_list_accounts#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Bank statements overview (Контрагенты → Банк): the bank accounts whose statements are loaded for a location — account number, currency, bank, period covered, number of operations, months with data and the last known balance — plus the most recent statement imports. Call this FIRST: it gives the accountKey values the other bank_* tools need and the date range that actually has data.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.

bank_refresh#

Risk: R2 (integration) · Confirmation: hint · Sandbox: preview · Cloud contours: cenaly.ru

Ask the BANK for fresh statements (bank APIs: Tochka Bank, T-Bank, Raiffeisenbank, Modulbank; cenaly.ru contour only; the account owner connects them in Integrations). action: "sync" = pull new operations now (what the "Sync" button does); "resync" = re-pull a period from..to (use after a rolled-back import or when operations are missing; up to 5 years, long periods are split and finish in the background); "status" = connection, accounts, last sync and its result; "balances" = live balances; "events" = latest webhook payment events; "test" = check the connection. New operations land in the same statements the other bank_* tools read — a few seconds later when the response says status "pending". For banks without an API, load the file with bank_upload_statement. If bank / company id are omitted and exactly one company is connected (in any bank) it is used.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
action "sync" | "resync" | "status" | "balances" | "events" | "test" Default sync.
bank "tochka" | "tbank" | "modulbank" | "raiffeisen" Which bank API; optional when only one company is connected.
partyId string Our legal entity (seller requisites) connected to the bank; see action "status" / the error for the list.
from string resync: first day, YYYY-MM-DD.
to string resync: last day, YYYY-MM-DD.
limit number events: how many, default 20.

bank_search_operations#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Search bank statement operations (payments) over a period. Filters combine with AND. Returns newest first with totals for the WHOLE filtered set (incoming/outgoing per currency) and a page of rows: opId, date, amount (+direction in/out), counterparty name/INN/account, document number, payment purpose and the link status (linked = already attached to a counterparty ledger, with counterpartyId/paymentId; unlinked = not yet). Without from/to it looks at the last two months that have data. A call reads at most 24 account-months — narrow the range or pick an accountKey for wider searches. Use opId + month + accountKey from a row with bank_link_operations.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
accountKey string Account key from bank_list_accounts; omit to search all accounts.
from string First day, YYYY-MM-DD (inclusive).
to string Last day, YYYY-MM-DD (inclusive).
direction "in" | "out" in = money received, out = money paid.
minAmount number Minimum absolute amount in main units (e.g. 1500.50).
maxAmount number Maximum absolute amount in main units.
counterparty string Substring of the counterparty name (case-insensitive).
inn string Counterparty tax id (ИНН), exact digits.
text string Substring of the payment purpose, document number or counterparty name.
link "any" | "linked" | "unlinked" linked = already posted to a counterparty book; unlinked = still to be matched. Default any.
limit number Rows per page, 1-200, default 50.
offset number Rows to skip (from nextOffset of the previous page).

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Matcher suggestions for the unlinked operations of 1-3 months of one account: which counterparty / invoice each incoming payment most likely settles (and which supplier bill an outgoing payment pays — only when unambiguous). Rows without a suggestion need a human decision (find the counterparty with crm_find_counterparties and link manually). Also reports "orphans": links whose operation disappeared after a statement import was rolled back, and the legal entities when the account owner could not be identified. Read-only — nothing is posted.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
accountKey (required) string
months (required) array 1-3 months, YYYY-MM.
includeEmpty boolean Also list operations without any suggestion (default false).
limit number Max rows, default 100, up to 300.

bank_upload_statement#

Risk: R1 · Confirmation: none · Sandbox: preview

Load a bank statement FILE into the statements (formats detected by content: 1C ClientBankExchange, MT940/MultiCash, camt.052/053/054, OFX/QFX/QBO, QIF, CSV/XLSX). Pass the file as content (text) or contentBase64 (max 4 MB over MCP). Re-loading overlapping periods is safe (operations are de-duplicated by the bank id / a stable hash). Returns an uploadId; the response already carries the import result if it finished within ~20 s, otherwise poll bank_import_status. If the table columns are not recognised the status says needMapping with a sample — then ask the user for the column layout.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
fileName (required) string Original file name with extension (helps format detection).
content string File body as plain text.
contentBase64 string File body as base64 (xlsx and other binary formats). Max 4 MB.

crm — CRM and B2B documents#

CRM: counterparties, contracts, B2B documents (quotes, invoices, acts), settlements and reconciliation acts, deals, activities, refund letters. (26: 18 / 6 / 2)

Tool Purpose Risk Confirmation Sandbox
crm_activities_list List CRM activities R0 none not_in_sandbox
crm_activity_complete Complete CRM task R1 none preview
crm_activity_save Save CRM activity R1 none preview
crm_aging_report Crm aging report R0 none not_in_sandbox
crm_contracts_list Crm contracts list R0 none not_in_sandbox
crm_counterparty_get Crm counterparty get R0 none not_in_sandbox
crm_counterparty_save Crm counterparty save R1 none preview
crm_deal_save Save CRM deal R1 none preview
crm_deals_list List CRM deals R0 none not_in_sandbox
crm_deals_report CRM deals report R0 none not_in_sandbox
crm_doc_get Crm doc get R0 none not_in_sandbox
crm_doc_issue Crm doc issue R2 · money token_optional preview
crm_doc_issue_preview Crm doc issue preview R0 none not_in_sandbox
crm_doc_pdf_url Crm doc pdf url R0 none not_in_sandbox
crm_doc_registry Crm doc registry R0 none not_in_sandbox
crm_doc_save_draft Crm doc save draft R1 none preview
crm_find_counterparties Find counterparties R0 none read
crm_find_documents Find CRM documents R0 none read
crm_ledger_get Crm ledger get R0 none not_in_sandbox
crm_payables_ledger Crm payables ledger R0 none not_in_sandbox
crm_print_forms_list Crm print forms list R0 none not_in_sandbox
crm_reconciliation_preview Crm reconciliation preview R0 none not_in_sandbox
refund_apply Create the refund request R2 · money token_required preview
refund_get Refund request details R0 none not_in_sandbox
refund_list List refund requests R0 none not_in_sandbox
refund_parse Read a refund letter (preview) R1 · AI spend none preview

crm_activities_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

CRM activity: with counterpartyId — the timeline of the card (notes, calls, meetings, tasks, mails…; month YYYY-MM — an archived month); without it — open CRM tasks of the location sorted by due date (only the ones you may see).

Parameters Type Description
locationId (required) string Location id (from list_locations).
counterpartyId string Counterparty (company/person card) id from crm_counterparties_* / crm_deals_list.
month string YYYY-MM — archived month of the card timeline.
type string Only this type (note, call, meeting, task, mail…).
limit integer

crm_activity_complete#

Risk: R1 · Confirmation: none · Sandbox: preview

Mark a CRM task done (done:true) or reopen it (done:false). A repeating task creates its next occurrence (returned as next); a task that mirrors a missed call also closes the callback case.

Parameters Type Description
locationId (required) string Location id (from list_locations).
counterpartyId (required) string Counterparty (company/person card) id from crm_counterparties_* / crm_deals_list.
activityId (required) string
done boolean Default true.
today string YYYY-MM-DD of the location (for the next occurrence of a repeating task).

crm_activity_save#

Risk: R1 · Confirmation: none · Sandbox: preview

Write to a counterparty card: a note, a call or meeting (with outcome), or a task (due date/time, assignee, repeat). activityId with only dueDate/dueTime/assigneeSub/repeat — reschedule or reassign an existing task; activityId with text — rewrite the entry. Links to a document/contract/order/deal via relatedKind + relatedId.

Parameters Type Description
locationId (required) string Location id (from list_locations).
counterpartyId (required) string Counterparty (company/person card) id from crm_counterparties_* / crm_deals_list.
activityId string Existing entry id — update.
type "note" | "call" | "meeting" | "task"
text string
dueDate string Task: YYYY-MM-DD.
dueTime string Task: HH:MM.
assigneeSub string Task: team member sub ("" — unassign).
assigneeName string Task: assignee display name (with assigneeSub).
outcome "reached" | "no_answer" | "callback" | "declined" Call / meeting result.
repeat "" | "daily" | "weekly" | "monthly" Task repeat rule ("" — no repeat).
relatedKind "document" | "contract" | "order" | "deal"
relatedId string
relatedLabel string

crm_aging_report#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Aging of debts across the location by counterparty and currency (current, 1–30, 31–60, 61–90, 90+ days): receivables, payables or both. Needs the "money" and "all cards" rights (or the owner).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
side "receivables" | "payables" | "both"
partyId string Our legal entity (sp_…) when the location has several; omit for the default book.
asOf string
limit integer Books to scan (default 200).

crm_contracts_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Contracts with counterparties at the location (status draft → signed → active → expired/terminated/void is refreshed on read). Pass contractId for the full contract. Staff without the "all cards" right must pass counterpartyId of a visible card.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
contractId string Return this contract in full.
counterpartyId string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
status "draft" | "signed" | "active" | "expired" | "terminated" | "void"
limit integer
offset integer

crm_counterparty_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

CRM counterparty card (customer / supplier / partner — company or person): requisites, contacts, roles, responsible manager and a settlements summary (balance, debt, advance, overdue). Pass id for one card (its revision is returned — pass it to crm_counterparty_save), or search (name, tax id, phone, email) to find cards. Staff without the "all cards" right see only their own and unassigned cards.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id string Card id (cp_…).
search string Find by name, tax id, phone or email (when id is not given).
role "customer" | "supplier"
kind "company" | "person"
status "active" | "blocked" | "archived"
limit integer
offset integer

crm_counterparty_save#

Risk: R1 · Confirmation: none · Sandbox: preview · personal data — per role rights

Create a counterparty card or change an existing one. For an existing card send only the fields to change — they are merged into the current card (company/person and requisites merge one level deep, lists such as contacts replace the old list). Pass expectedRevision from crm_counterparty_get: if the card changed meanwhile the answer is 409 stale_revision with the current card. A tax id already used by another card → 409 duplicate_tax_id with its id.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
counterparty (required) object Card fields: id (cp_…, omit to create), kind (company|person), displayName, roles [customer|supplier|partner|other], ownerSub (responsible), company {legalName, country, requisites {…tax id fields of the country}, legalAddress, postalAddress, managementName, managementTitle, signBasis, bankAccounts [...]}, person {firstName, lastName, middleName, country, requisites}, contacts [{name, role, phone, email}], tags [], notes, status (active|blocked|archived).
expectedRevision string revision from crm_counterparty_get (protects from overwriting a parallel edit).

crm_deal_save#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a deal on a counterparty card or change one (dealId): title, stage, amount, currency, expected close date, owner, contact person, linked documents/orders, note. Send only the fields to change. Stage lost needs lostReason. Pass baseRev (rev you read) to avoid overwriting a colleague's change (409 deal_conflict returns the current deal).

Parameters Type Description
locationId (required) string Location id (from list_locations).
counterpartyId (required) string Counterparty (company/person card) id from crm_counterparties_* / crm_deals_list.
dealId string Existing deal id — update; omit to create.
baseRev integer rev of the deal you read (conflict check).
title string
stage "new" | "qualified" | "proposal" | "negotiation" | "won" | "lost"
amount string Amount in major units ("4500.00"). Or amountMinor.
amountMinor integer Amount in minor units (cents). null/"" — clear.
currency string ISO 4217; default — currency of the location.
expectedCloseDate string YYYY-MM-DD or "" to clear.
ownerSub string Deal owner (team member sub); "" — unassign.
contactId string Contact person id of this card; "" — clear.
documentIds array Documents of this counterparty.
orderIds array Orders of this counterparty.
lostReason "price" | "competitor" | "no_budget" | "no_response" | "timing" | "not_fit" | "other"
lostNote string
note string

crm_deals_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Sales deals (CRM pipeline) of a location — or of one counterparty card (counterpartyId): title, stage (new → qualified → proposal → negotiation → won|lost), amount, expected close date, owner, next step, stale/overdue signals. Open deals by default; includeClosed adds won/lost. Staff without "all cards" see only their own and unassigned deals. enabled:false — deals are turned off for the location.

Parameters Type Description
locationId (required) string Location id (from list_locations).
counterpartyId string Counterparty (company/person card) id from crm_counterparties_* / crm_deals_list.
includeClosed boolean
closedLimit integer
ownerSub string Only deals of this owner; "-" — without an owner.
stage "new" | "qualified" | "proposal" | "negotiation" | "won" | "lost" Only this stage.
limit integer

crm_deals_report#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Sales report of a location: funnel by stage, won/lost and loss reasons, month forecast, stuck deals. Period fromIso..toIso, forecast month YYYY-MM, optional owner filter ("-" — without an owner). Amounts are hidden (amountsHidden) for staff without the Money right.

Parameters Type Description
locationId (required) string Location id (from list_locations).
fromIso string ISO date/time — period start.
toIso string ISO date/time — period end.
month string Forecast month YYYY-MM.
ownerSub string

crm_doc_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

A commercial document of the CRM in full: quote, invoice, proforma, shipment note / UPD, act, tax invoice, credit note, receipt, reconciliation act — status (draft / issued / sent / paid / void…), number, seller and buyer, lines, totals, contract, related documents.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id (required) string Document id from crm_doc_registry.

crm_doc_issue#

Risk: R2 (money) · Confirmation: token_optional · Sandbox: preview

Step 2: ISSUE the draft document — irreversible: assigns the next number of the series, freezes seller/buyer, renders the PDF and for shipment notes / acts posts the receivable debit (may queue a prepayment settlement receipt). Ask the user first; pass issueArgs and confirmToken from crm_doc_issue_preview. If the draft changed after the preview — 409, preview again. Nothing is sent to the counterparty. Repeating the call for an issued document only completes its tail (same number).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id (required) string
confirmToken string confirmToken from crm_doc_issue_preview.

crm_doc_issue_preview#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Step 1 of issuing a draft document: checks readiness (lines, seller requisites, contract for an invoice when required) and shows what issuing does — assigns an immutable number, renders the PDF, and for shipment notes / acts posts the debt to the counterparty settlements book. Writes nothing. Returns issueArgs and a confirmToken (15 min): show the summary to the user, ask, then call crm_doc_issue with issueArgs exactly plus confirmToken. Issuing never sends the document to the counterparty.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id (required) string Draft id.

crm_doc_pdf_url#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Signed link (60 min) to the PDF of an issued CRM document. A draft has no PDF yet (404).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id (required) string

crm_doc_registry#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Registry of commercial documents of the location (admin → Counterparties → Documents): search by number, counterparty name or tax id; filters by type, status, direction (out — ours, in — incoming), dates, counterparty, work slice (waiting — quotes without an answer, next — a follow-up document is due); totals by currency. Staff without the "all cards" right must pass counterpartyId of a visible card.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
search string Up to 160 characters.
counterpartyId string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
types array<"quote" | "invoice" | "proforma" | "shipment_note" | "act" | "tax_invoice" | "credit_note" | "reconciliation" | "receipt" | "contract">
statuses array<"draft" | "issued" | "sent" | "paid" | "void" | "accepted" | "declined">
direction "out" | "in"
fromDate string YYYY-MM-DD
toDate string YYYY-MM-DD
work "waiting" | "next"
sort "documentDate" | "number" | "counterparty" | "gross" | "match"
sortDir "asc" | "desc"
includeSummary boolean Totals by currency and direction (default true).
limit integer
offset integer

crm_doc_save_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a DRAFT commercial document (quote, invoice, proforma, shipment note, act, tax invoice, credit note, receipt) or change an existing draft. Drafts get no number and post nothing — crm_doc_issue_preview / crm_doc_issue issue them. Prices are per unit: priceMinor (integer minor units, e.g. cents) or price (major units as a string, "1250.50"). For an existing draft omitted fields keep their values (lines too). Issued or void documents are not editable (409).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
id string Existing draft id; omit to create a new one.
type "quote" | "invoice" | "proforma" | "shipment_note" | "act" | "tax_invoice" | "credit_note" | "receipt"
counterpartyId string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
lines array
contractId string Contract (basis) — must be this counterparty's signed/active contract; "" unlinks.
sellerPartyId string Our legal entity (sp_…); "" — the default one.
sellerDivisionId string
sellerBankAccountId string
sellerSignatoryId string
printFormId string Print form id from crm_print_forms_list; "" — the standard layout.
language string
note string
validUntil string YYYY-MM-DD (quotes).
orderIds array

crm_find_counterparties#

Risk: R0 · Confirmation: none · Sandbox: read

Find counterparties (customers / suppliers) of a location by name or tax id, to link a payment to them. Returns id, name, kind (company/person), roles, status and the primary contact. Use the id as counterpartyId in bank_link_operations.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
search string Name fragment (the list search also matches contacts and tags).
inn string Exact tax id (ИНН/ОГРН-style number) — resolved through the tax-id index.
role "customer" | "supplier"
limit number 1-100, default 20.
offset number

crm_find_documents#

Risk: R0 · Confirmation: none · Sandbox: read

Find CRM documents (invoices, acts, proformas, shipment notes…) of a location — typically the open invoices of a counterparty to settle with a payment. Returns id, type, number, counterpartyId, status (issued/sent = awaiting payment, paid, void, draft…), issue date, due date and amount. Use id as docId in bank_link_operations.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location; otherwise the error lists the ids.
domain string Alternative to locationId: the location domain code.
counterpartyId string
type string invoice | proforma | tax_invoice | shipment_note | act | quote …
status string draft | issued | sent | paid | void | accepted | declined
awaitingPayment boolean Shortcut: only issued/sent invoices-like documents.
direction "in" | "out" in = received from a supplier, out = issued by us.
from string Issued on/after, YYYY-MM-DD.
to string Issued on/before, YYYY-MM-DD.
number string Document number fragment.
limit number 1-200, default 50.
offset number

crm_ledger_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Receivables book with a customer: balance, debt, advance, overdue, aging buckets, document gaps, books by our legal entity. Needs the "money" right of the CRM.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
counterpartyId (required) string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
partyId string Our legal entity (sp_…) when the location has several; omit for the default book.
asOf string ISO date/time for overdue (default now).

crm_payables_ledger#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Payables book with a supplier: registered supplier bills with amounts left to pay, payments, the position (we owe / our advance), billing by purchase order. Needs the "money" right of the CRM.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
counterpartyId (required) string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
partyId string Our legal entity (sp_…) when the location has several; omit for the default book.
asOf string

crm_print_forms_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Print forms available for commercial documents of the location: country presets (filtered by the location country and the cloud) and the merchant's own forms. Pass docType to see only forms for that document type.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
docType "quote" | "invoice" | "proforma" | "shipment_note" | "act" | "tax_invoice" | "credit_note" | "reconciliation" | "receipt" | "contract"

crm_reconciliation_preview#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Reconciliation act preview with a counterparty for a period: opening balance, debits/credits (sales and purchases), closing balance, rows by document, earlier acts. Writes nothing. Needs the "money" right of the CRM.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
counterpartyId (required) string Counterparty card id (cp_…) from crm_counterparty_get / crm_find_counterparties.
from (required) string YYYY-MM-DD
to (required) string YYYY-MM-DD
partyId string Our legal entity (sp_…) when the location has several; omit for the default book.
language string

refund_apply#

Risk: R2 (money) · Confirmation: token_required · Sandbox: preview · personal data — per role rights

Step 2: create the refund request from a refund_parse preview. ASK THE USER FIRST: show the preview and get an explicit "yes" for the request and for each needs_confirmation action you put into actions — never call this on your own initiative. Requires confirmToken from refund_parse (without it the server answers 409). Executes the auto actions of the plan and only those needs_confirmation actions listed in actions (e.g. create_counterparty, add_bank_account — the refund account is added to the card at the end and NOT as the default); blocked actions are never executed. Data comes only from the token (what the user saw); if the account changed since the preview (plan_changed) a fresh preview and token are returned — show them again. Writes: the refund request (status draft / review / pending_approval / approved), the letter file in the card attachments, an approval task when bank details differ from the payer. NO payment is created or sent: decisions, the call-back check, approval and the payment order draft are done by a human in the app (CRM → refund request). Repeating the same token is safe (replay, nothing written twice).

Parameters Type Description
confirmToken (required) string confirmToken from refund_parse, exactly as returned.
actions (required) array Ids of the needs_confirmation plan actions the user approved (from preview.plan[].id); [] = only the auto actions.

refund_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

One refund request in full: status and history, amounts and VAT, payee bank details, the original payment, recognised letter fields, risk flags (which still block the payment order), decisions, plan actions with results, the payment order draft state and whether it can be prepared now. Read-only.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location.
domain string Alternative to locationId: the location domain code.
refundId (required) string rf_… id from refund_list / refund_apply.

refund_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Refund requests of a location (newest first): id, status, counterparty, invoice/contract, requested and approved amounts. Filters combine with AND. Statuses: draft, review, pending_approval (bank details differ — needs a call-back and a second employee), approved, payment_prepared, paid, closed, rejected, cancelled.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location.
domain string Alternative to locationId: the location domain code.
status "draft" | "review" | "pending_approval" | "approved" | "payment_prepared" | "paid" | "closed" | "rejected" | "cancelled"
counterpartyId string
invoiceId string
contractId string
live boolean Only requests still in progress (not paid/closed/rejected/cancelled).
limit number 1-200, default 50.
offset number

refund_parse#

Risk: R1 (AI spend) · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required) · personal data — per role rights

Step 1 of "refund money to a customer by their letter" (Russian business letters «письмо на возврат денежных средств»). Reads the letter — a file already in the location Documents storage (upload it first with files_upload and pass fileId; PDF, JPEG, PNG or WEBP, up to 15 MB) or the letter text — recognises the fields (sender and its INN/KPP, letter number and date, invoice/contract, the original payment order, amount and VAT, refund bank details, signer) each with a quote from the letter, and matches them against the account: the counterparty card by INN, the invoice, the contract, the original incoming bank payment, earlier refunds. Returns a PREVIEW: fields (value, quote, issue), match, risk flags, the plan of actions (auto / needs_confirmation / blocked) and the status the refund request would get, plus a confirmToken. NOTHING IS WRITTEN. Show the preview to the user — especially the refund bank account, amount, risk flags and every needs_confirmation action — and ask what to do before calling refund_apply. If the user corrects a field or picks a counterparty card, call refund_parse again with fields (from this preview, corrected) / counterpartyId / confirmedFields to get a new preview and token. No money is ever moved by these tools.

Parameters Type Description
locationId string Location id (from list_locations). Optional when the account has exactly one location.
domain string Alternative to locationId: the location domain code.
fileId string The letter file in Documents (from files_upload / files_list).
fileIds array Several files of ONE letter (e.g. photos of each page), in page order; up to 10. The first one is saved to the card on apply.
pageFileIds array Only when a previous refund_parse answered needsRaster: PNG/JPEG images of the listed PDF pages, in the same order as pages.
pages array Page numbers (from needsRaster) of pageFileIds, same order. Default 1, 2, 3…
text string The letter text (when there is no file), up to 40 000 characters.
fields object Re-preview: the fields object from a previous refund_parse with the user's corrections (no file/text re-reading).
confirmedFields array Field paths the user checked with their own eyes, e.g. ["payee.account","refund.amountMinor"].
counterpartyId string Counterparty card chosen by the user when the letter has no INN or several cards match (crm_find_counterparties).

documents — Documents#

Documents section: file storage, document templates and instances, rich texts/spreadsheets, legal documents of the site, version history. (17: 11 / 5 / 1)

Tool Purpose Risk Confirmation Sandbox
doc_history_list Doc history list R0 none not_in_sandbox
doc_instance_get Doc instance get R0 none not_in_sandbox
doc_instance_pdf Doc instance pdf R0 none not_in_sandbox
doc_instances_list Doc instances list R0 none read
doc_rich_read Doc rich read R0 none not_in_sandbox
doc_rich_update Doc rich update R1 none preview
doc_template_render_draft Doc template render draft R1 none preview
doc_templates_list Doc templates list R0 none not_in_sandbox
files_create_folder Files create folder R1 none preview
files_delete Files delete R2 · delete hint preview
files_get Files get R0 none read
files_list Files list R0 none read
files_search Files search R0 none read
files_update Files update R1 none preview
files_upload Files upload R1 none preview
legal_docs_get Legal docs get R0 none not_in_sandbox
legal_docs_list Legal docs list R0 none not_in_sandbox

doc_history_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Change history of a JSON record of the account (who changed it, when, summary of changes) — e.g. a counterparty card, CRM document, contract or location profile. Pass target {kind, id} or the full key users/{owner}/….json; diffVersionId — the structural diff of that version against the previous one (or againstVersionId). Read only: no restore.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
targetKind "counterparty" | "crm_document" | "crm_contract" | "location_profile"
targetId string Card / document / contract id (not needed for location_profile).
key string Full key users/{owner}/….json (instead of targetKind).
limit integer
offset integer
diffVersionId string
againstVersionId string

doc_instance_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One document created from a template in full: text, filled fields, questionnaire answers, revision, acknowledgement and PDF state.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
instanceId (required) string

doc_instance_pdf#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Signed link to the current PDF of a document created from a template. No PDF or the text changed after it was rendered — 404 / 409 (render it in the app). When the signed-in user is the employee the document is addressed to, the first link marks the document "delivered" to them.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
instanceId (required) string

doc_instances_list#

Risk: R0 · Confirmation: none · Sandbox: read

Documents created from templates at the location (contracts, orders, acts, HR and customer documents): status, template, counterparty / employee, validity. expiringOnly — expired and expiring ones (withinDays window). Staff without access to the whole section see only documents issued to them.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
expiringOnly boolean
withinDays integer
status "draft" | "final"
counterpartyId string
employeeSub string
folderId string
limit integer
offset integer

doc_rich_read#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Read a built-in document of Documents → Files: a text document (HTML + page layout) or a spreadsheet (Univer workbook JSON) with its rev — pass rev to doc_rich_update. Uploaded files (pdf, docx, md…) are read with files_get.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
fileId (required) string

doc_rich_update#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a built-in text document or spreadsheet in Documents → Files (no fileId: pass kind and title) or change one. Changing the content needs rev from doc_rich_read: if someone edited it meanwhile — 409 conflict with the current rev (re-read and merge). content — {html, layout?} for text, {workbook} for a spreadsheet; the whole body is replaced. Title, folder and links can be changed without rev.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
fileId string
kind "text" | "sheet" Required to create.
rev integer Current rev (required when content is changed).
title string
folderId string/null
links object/null {counterpartyId?, dealId?, orderId?} — CRM links; null clears.
content object {html, layout?} (text) or {workbook} (sheet).

doc_template_render_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a DRAFT document from a template: values fill the template fields, answers — its questionnaire. A classic template gives a document instance (draft, not finalized); a rich ("doc") template gives a text document in Documents → Files (takes the next number of its series if it has one). Nothing is sent to anyone.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
templateId (required) string
title string Document title ({{doc.number}} — the number of a rich template).
values object Field key → text (keys from doc_templates_list fields).
answers object Questionnaire option id → boolean / text.
folderId string
counterpartyId string
partyId string
employeeSub string Employee the document is about (HR).
orderId string
sequenceId string
validFrom string YYYY-MM-DD
validUntil string YYYY-MM-DD
reminderDays array

doc_templates_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Document templates of the location (admin → Documents → Templates): contracts, orders, acts, HR, customer and supplier documents — name, category, fields to fill, questionnaire options, format ("doc" — rich document editor). Pass templateId for one template with its full text.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
templateId string
category "hr" | "customer" | "supplier" | "other"

files_create_folder#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a folder (optionally inside parentId) in the location's file storage.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
name (required) string
parentId string

files_delete#

Risk: R2 (delete) · Confirmation: hint · Sandbox: preview

Delete a file from the location's file storage.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
fileId (required) string

files_get#

Risk: R0 · Confirmation: none · Sandbox: read

Read one file: metadata, a download URL valid 15 minutes for uploaded files, and the content inline for markdown/text files and built-in text documents/spreadsheets.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
fileId (required) string

files_list#

Risk: R0 · Confirmation: none · Sandbox: read

List the files and folders of a location's file storage (Documents → Files): id, title, kind (file|text|sheet), mime, size, folderId, updatedAt.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
folderId string Only files of this folder

Risk: R0 · Confirmation: none · Sandbox: read

Full-text search over the location's files, document templates and documents.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
query (required) string
limit integer

files_update#

Risk: R1 · Confirmation: none · Sandbox: preview

Change a file: rename (title), move (folderId) and/or replace the text of a markdown/text file (content).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
fileId (required) string
title string
folderId string "" = root
content string New text for .md/.txt/.csv files

files_upload#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a new file in the location's file storage from text or base64 (≤ 4 MB via MCP; pdf, office documents, images, txt/csv/md…). A .md/.txt file stays editable in the app.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
name (required) string File name with extension, e.g. "price-list.md"
mime string MIME type; guessed from the extension when omitted
folderId string
title string
content string File body as plain text (markdown, txt, csv, json…).
contentBase64 string File body as base64 — for binary files (pdf, docx, images). Max 4 MB.

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Text (markdown) of one published legal document of the location website in one language (default — the document's main language) and the list of languages; includeHistory — earlier editions. Owner of the account only.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
docType (required) "privacy" | "terms" | "returns" | "cookies" | "delivery" | "withdrawal" | "disclaimer" | "eula" | "payment" | "impressum" | "accessibility" | "consent" | "preinfo" | "salescontract" | "loyalty" | "applicants" | "tokushoho"
lang string
version integer Edition (default — the published one).
includeHistory boolean

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Legal documents of the location website (privacy policy, terms / offer, returns, cookies, delivery, withdrawal, impressum…): which are published, version, date, languages, auto-kit state and the public address base. Owner of the account only.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.

tasks — Team tasks and work chat#

Team task board, recurring templates and checklists, approvals, internal work chat. (18: 8 / 10 / 0)

Tool Purpose Risk Confirmation Sandbox
team_checklist_report Checklist report R0 none not_in_sandbox
team_members Team members R0 none read
team_task_add Add team task R1 none session
team_task_approval Team task approval R1 none preview
team_task_block Block / unblock team task R1 none preview
team_task_comment Comment team task R1 none session
team_task_get Get team task R0 none read
team_task_mail_link Link e-mail to team task R1 none preview
team_task_move Move team task R1 none preview
team_task_note_check Check team task checklist item R1 none preview
team_task_update Update team task R1 none session
team_tasks_list List team tasks R0 none read
team_template_apply Apply checklist template R1 none preview
team_templates_list List checklist templates R0 none not_in_sandbox
workchat_channels_list List team chat channels R0 none not_in_sandbox
workchat_messages_list List team chat messages R0 none not_in_sandbox
workchat_post_message Post to team chat R1 none preview
workchat_search Search team chat R0 none not_in_sandbox

team_checklist_report#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

How recurring checklists were done over a period: per template — runs, tasks, done, last run and done count per person. Default — the last 30 days; at most 12 months back (truncated:true beyond).

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
from string YYYY-MM-DD
to string YYYY-MM-DD

team_members#

Risk: R0 · Confirmation: none · Sandbox: read

Team members of the account who can be given tasks: sub, name, role and the locations they work at. Use it to pick the assignee and the locationId for team_task_add.

Parameters: no parameters.

team_task_add#

Risk: R1 · Confirmation: none · Sandbox: session

Create a task on the location board on behalf of the signed-in user (they become the author). Optional assignee, due date (YYYY-MM-DD), priority, parent task (to make a subtask), tags. Write the task in the language the assignee reads. Send the original text only: if the account auto-translates tasks, translations appear by themselves. Repeating the same call does not create a duplicate.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
title (required) string Short task title.
note string Description: what to do, context, links, what counts as done, how to report the result.
noteFormat "" | "html" "html" — rich description with a checklist (
    ), as the admin editor saves it; default plain text.
dueDate string YYYY-MM-DD
priority "normal" | "high"
assigneeSub string Assignee user id (sub) from team_members.
assigneeName string Assignee by name (case-insensitive, must match exactly one team member). Alternative to assigneeSub.
parentId string Parent task id — creates a subtask.
tags array
clientKey string Idempotency key; default — derived from location, parent, title and description.

team_task_approval#

Risk: R1 · Confirmation: none · Sandbox: preview

Approval inside a task. op request — ask for approval (purchase, write-off, discount, repair, other; amount and currency; optional approver) — allowed to the author, the assignee and managers; while it is pending the task cannot be done. op approve / reject — decide (owner, manager or the named approver; the requester cannot approve their own request); reject closes the task. Ask the user before approving or rejecting on their behalf.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
op (required) "request" | "approve" | "reject"
kind "purchase" | "writeoff" | "discount" | "repair" | "other" op request.
amount number op request: amount in major units (e.g. 1500.50).
currency string op request: ISO 4217 code.
approverSub string op request: who should decide (team member sub); default — any manager.
approverName string op request: approver by name (instead of approverSub).
note string op approve / reject: comment of the decision, up to 300 characters.

team_task_block#

Risk: R1 · Confirmation: none · Sandbox: preview

Mark a task as blocked ("waiting for a supplier / a colleague / another task") or unblock it (unblock:true). kind task — ref is another task id on this board (unblocks itself when that task is done); person — ref is the sub of the team member we wait for (or pass refName); external — waiting for something outside (no ref).

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
unblock boolean true — remove the block (other fields ignored).
kind "task" | "person" | "external"
ref string kind task — task id; kind person — team member sub.
refName string kind person — team member by name (instead of ref).
note string What we wait for, up to 300 characters.

team_task_comment#

Risk: R1 · Confirmation: none · Sandbox: session

Add a comment to a task (a question to the assignee, feedback on the result). The assignee sees it in the task.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
text (required) string
clientKey string Idempotency key (optional).

team_task_get#

Risk: R0 · Confirmation: none · Sandbox: read

One task in full, to check the RESULT of the work: description (with checklist marks), status, who completed it and when, comments of the assignee, photo keys, subtasks, and (history:true) the event log of the task.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
history boolean
langs array Translations of the task texts (AI auto-translation of the board via polza.ai, if the account turned it on): language codes to include (e.g. ["ka"]). Default — every language the team translates into; [] — none. Only up-to-date translations are returned, next to the original; texts are always written in the original.

Risk: R1 · Confirmation: none · Sandbox: preview

Attach a SENT e-mail to a task (shown in the task card; replies to that thread help unblock it). Does not send anything — send with mail_send first and pass its messageId. Repeating with the same messageId changes nothing.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
messageId (required) string Message-ID of the sent e-mail (idempotency key).
to (required) string Recipient address.
threadId string
mailboxId string
subject string

team_task_move#

Risk: R1 · Confirmation: none · Sandbox: preview

Move a task in the board tree: under another task (parentId; "" — back to top level; up to 4 levels), after a sibling (afterId; "" — first in its group), and/or into a status section (open|doing|done — top-level tasks only). Moving to done checks the same done rules as the app (photo, note, subtasks, training, pending approval) and unblocks tasks that waited for it.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
parentId string New parent task id; "" — top level. Omit to keep the parent.
afterId string Put after this sibling; "" — first. Omit — keep the order (unknown id — last).
status "open" | "doing" | "done" Status section (top-level position only).

team_task_note_check#

Risk: R1 · Confirmation: none · Sandbox: preview

Tick or untick a checklist item inside a rich (html) task description. Item ids — checklist of team_task_get. Allowed to the assignee, the author and managers; time and author of the mark are set by the server.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
itemId (required) string Checklist item id (data-id).
checked (required) boolean

team_task_update#

Risk: R1 · Confirmation: none · Sandbox: session

Change a task: status (open|doing|done), priority, due date, title, description, assignee (assigneeSub:"" — unassign). Send only the fields to change. Title/description are the original text (translations are re-made automatically).

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
taskId (required) string Task id from team_tasks_list.
status "open" | "doing" | "done"
priority "normal" | "high"
dueDate string YYYY-MM-DD or "" to clear.
title string
note string
noteFormat "" | "html"
assigneeSub string Assignee user id (sub) from team_members.
assigneeName string Assignee by name (case-insensitive, must match exactly one team member). Alternative to assigneeSub.

team_tasks_list#

Risk: R0 · Confirmation: none · Sandbox: read

List tasks of a location task board (admin → Team chat → Tasks): id, title, status (open|doing|done), priority, due date, assignee, author, who/when completed, subtask progress, comment count and the last comment. Default: tasks not done yet.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
status "open" | "doing" | "done" | "active" | "all" active (default) = open+doing; all = every status.
assigneeSub string Assignee user id (sub) from team_members.
assigneeName string Assignee by name (case-insensitive, must match exactly one team member). Alternative to assigneeSub.
parentId string Only subtasks of this task ("" = only top-level tasks).
updatedSince string ISO date/time — only tasks changed since then (to check fresh results).
query string Substring of title or description.
limit integer
langs array Translations of the task texts (AI auto-translation of the board via polza.ai, if the account turned it on): language codes to include (e.g. ["ka"]). Default — every language the team translates into; [] — none. Only up-to-date translations are returned, next to the original; texts are always written in the original.

team_template_apply#

Risk: R1 · Confirmation: none · Sandbox: preview

Put a checklist from a template on the board now (one parent task + a subtask per item). Without an assignee the board picks one by the template role among those on shift (or the person on duty). Every call creates a new checklist — do not repeat it.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).
templateId (required) string Template id from team_templates_list.
assigneeSub string Assignee user id (sub) from team_members.
assigneeName string Assignee by name (case-insensitive, must match exactly one team member). Alternative to assigneeSub.

team_templates_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Recurring checklist templates of a location (opening/closing routines, cleaning rounds, onboarding…): id, title, items, assignee role, trigger (shift open, schedule, manual, employee hired/left), enabled, last run.

Parameters Type Description
locationId (required) string Location id whose task board to use (from list_locations or team_members.locationIds).

workchat_channels_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Team chat of the account (admin → Team chat): channels you can see (company, locations, work groups, direct messages, your notifications and assistant), unread counts, last message preview and the roster of colleagues (sub, name, role, on shift). With more than 60 locations pass locationQuery to find location channels by name.

Parameters Type Description
locationQuery string Find location channels by name (accounts with many locations).
unreadOnly boolean Only channels with unread messages.

workchat_messages_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Messages of a team chat channel, oldest → newest (default the latest 50, max 100). Older pages — pass beforeTs = ts of the first message you have; hasMore tells whether there is more.

Parameters Type Description
channelId (required) string Channel id from workchat_channels_list: "general" (company), "loc:" (location), "grp:" (work group), "dm::" (direct), "sys:" (your notifications, read-only), "ai:" (assistant).
limit integer
beforeTs string ISO time — messages before it (pagination back).

workchat_post_message#

Risk: R1 · Confirmation: none · Sandbox: preview

Post a message to a team chat channel as the signed-in user (colleagues get a push). For a direct message pass recipientSub (or recipientName) instead of channelId — the dialog is created on the first message. mentions — subs of channel members to notify. Internal team chat only: guests and customers never see it. Repeating the identical call the same day does not post twice (pass clientMsgId to send the same text again).

Parameters Type Description
channelId string Channel id from workchat_channels_list: "general" (company), "loc:" (location), "grp:" (work group), "dm::" (direct), "sys:" (your notifications, read-only), "ai:" (assistant).
recipientSub string Direct message to this colleague (sub from the roster).
recipientName string Direct message to a colleague by name (exactly one match).
text (required) string Message text (up to 4000 characters).
replyToId string Message id to reply to.
mentions array Subs of channel members to mention.
clientMsgId string Idempotency key (optional).

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Full-text search in the team chat channels you can see (other people's direct messages are never searched). At least 2 characters; newest first, up to 50 hits; default — the last 6 months (months 1..24).

Parameters Type Description
query (required) string
channelId string Channel id from workchat_channels_list: "general" (company), "loc:" (location), "grp:" (work group), "dm::" (direct), "sys:" (your notifications, read-only), "ai:" (assistant).
months integer

mail — Mail#

Corporate and connected mailboxes: read, move, mark read, send. (8: 5 / 2 / 1)

Tool Purpose Risk Confirmation Sandbox
mail_get_attachment Mail get attachment R0 none not_in_sandbox
mail_get_mailbox_settings Mail get mailbox settings R0 none not_in_sandbox
mail_get_message Mail get message R0 none read
mail_list_mailboxes Mail list mailboxes R0 none read
mail_list_messages Mail list messages R0 none read
mail_mark_read Mail mark read R1 none session
mail_move_message Mail move message R1 none preview
mail_send Mail send R2 · outbound hint session

mail_get_attachment#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Get one attachment of a message: a download URL valid 15 minutes, and the text itself for small text attachments (txt, csv, json, html, md ≤ 512 KB).

Parameters Type Description
mailboxId (required) string
messageId (required) string
index (required) integer
folder "incoming" | "sent"

mail_get_mailbox_settings#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Settings of one mailbox needed to prepare a message: sender address and display name, the SIGNATURE (enabled, html, text — put it at the end of the body, or pass appendSignature to mail_send), auto-reply state, folders and the account's saved mail templates.

Parameters Type Description
mailboxId (required) string

mail_get_message#

Risk: R0 · Confirmation: none · Sandbox: read

Read one message: headers, plain-text body and the attachment list (index, name, mime, size).

Parameters Type Description
mailboxId (required) string
messageId (required) string
folder "incoming" | "sent" Default incoming
includeHtml boolean Also return the HTML body (large)
markRead boolean Mark the message read after reading (default false)

mail_list_mailboxes#

Risk: R0 · Confirmation: none · Sandbox: read

List the email mailboxes you can access (own staff mailbox, shared and AI-agent mailboxes, connected external mailboxes like Gmail): mailboxId, address, kind, unreadCount, accessLevel (owner|send|read) and caps — what you may do in it (read, contacts, attachments, organize, trash, purge, reply, compose, configure, access).

Parameters Type Description
includeService boolean Also list service mailboxes (noreply etc.)

mail_list_messages#

Risk: R0 · Confirmation: none · Sandbox: read

List messages of one mailbox, newest first: messageId, from, to, subject, date, snippet, unread, hasAttachments, threadId. Paginate with cursor/nextCursor.

Parameters Type Description
mailboxId (required) string
folder "incoming" | "sent" Default incoming
folderId string User folder id; omit for Inbox, "all" for every incoming message
unreadOnly boolean Only unread messages (filters the returned page)
cursor string
limit integer Default 50

mail_mark_read#

Risk: R1 · Confirmation: none · Sandbox: session

Mark one message read, or every message of the mailbox when messageId is omitted.

Parameters Type Description
mailboxId (required) string
messageId string

mail_move_message#

Risk: R1 · Confirmation: none · Sandbox: preview

Move an incoming message to a user folder of the mailbox (folderId ""/omitted = back to Inbox).

Parameters Type Description
mailboxId (required) string
messageId (required) string
folderId string

mail_send#

Risk: R2 (outbound) · Confirmation: hint · Sandbox: session

Send an email (or a reply: pass inReplyTo = messageId of the message you answer) from a mailbox you may send from (caps reply — answers only, compose — new messages). Up to 10 recipients in to+cc. Optional attachments (≤ 4 MB each via MCP). This really sends mail — confirm recipients and text with the user first.

Parameters Type Description
mailboxId (required) string
to (required) array
cc array
subject (required) string
text (required) string Plain-text body
html string Optional HTML body
inReplyTo string messageId of the message being answered (threads the reply)
appendSignature boolean Append the mailbox signature (as the app does when composing). Leave off if text/html already ends with the signature from mail_get_mailbox_settings.
attachments array

kb — Knowledge base#

AI knowledge base: collections, documents, notes, search and answers. (12: 5 / 5 / 2)

Tool Purpose Risk Confirmation Sandbox
kb_add_note Kb add note R1 none session
kb_add_url Kb add url R2 · outbound hint preview
kb_ask Kb ask R1 · AI spend none preview
kb_collection_save Kb collection save R1 none preview
kb_delete_document Kb delete document R2 · delete hint preview
kb_drafts_list Kb drafts list R0 none not_in_sandbox
kb_get_document Kb get document R0 none read
kb_list_collections Kb list collections R0 none read
kb_list_documents Kb list documents R0 none read
kb_note_update Kb note update R1 none preview
kb_search Kb search R0 none read
kb_upload_document Kb upload document R1 none preview

kb_add_note#

Risk: R1 · Confirmation: none · Sandbox: session · needs the AI consent where the brand requires it (403 ai_consent_required)

Add a short text document to the knowledge base — a rule ("we do X") or a question-and-answer — up to 8000 characters. Pass docId of a note you added earlier to rewrite it. For long texts use kb_upload_document.

Parameters Type Description
title (required) string
body (required) string
form "rule" | "qa" Default rule
question string For form=qa
folder string
docId string Rewrite your earlier note with this id

kb_add_url#

Risk: R2 (outbound) · Confirmation: hint · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Add a web page or site to the knowledge base (crawled in the background). Account owner only.

Parameters Type Description
url (required) string
maxPages integer
maxDepth integer
folder string

kb_ask#

Risk: R1 (AI spend) · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Ask your knowledge base a question and get an answer with sources (charged to your AI balance like the in-app assistant). Prefer kb_search when you only need passages.

Parameters Type Description
question (required) string
collectionId string

kb_collection_save#

Risk: R1 · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Create a knowledge-base collection (a named set of documents for one channel: site chat, AI secretary, call coach, assistant, staff learning…) or change an existing one. Omit id to create a new draft collection. A staff author (kb-author) may only create a new collection without routing; changing an existing collection or its routing needs the account owner or kb-publish. Read current ones with kb_list_collections first.

Parameters Type Description
id string "main" or "col_…" of an existing collection; omit to create a new one
name (required) string
description string
purposes array<"site_chat" | "secretary" | "coach" | "assistant" | "learning" | "mail" | "translator" | "negotiator" | "other">
scope "all" | "subset" The main collection is always "all"
folders array
docIds array
excludeDocIds array
access "internal" | "external" external strips internal-only documents (guest-facing channels)
routing object Auto-routing of questions to this collection (owner / kb-publish only; not for "main")
buildOptions object Build options as returned by kb_list_collections

kb_delete_document#

Risk: R2 (delete) · Confirmation: hint · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Delete a document from the knowledge base.

Parameters Type Description
docId (required) string

kb_drafts_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · needs the AI consent where the brand requires it (403 ai_consent_required)

List knowledge-base materials waiting for review: rules and notes added by staff or AI assistants (reviewRequired), optionally documents still processing, complaints about answers and suggested collections.

Parameters Type Description
folder string
manualOnly boolean Only text notes/rules (not uploaded files)
includeProcessing boolean
includeAnswerFixes boolean Also complaints about assistant answers
includeCollectionProposals boolean Also suggested collections (owner / kb-publish)
limit integer
offset integer

kb_get_document#

Risk: R0 · Confirmation: none · Sandbox: read · needs the AI consent where the brand requires it (403 ai_consent_required)

Read one knowledge-base document as extracted markdown text (paginate long documents with offset/maxChars).

Parameters Type Description
docId (required) string
offset integer
maxChars integer

kb_list_collections#

Risk: R0 · Confirmation: none · Sandbox: read · needs the AI consent where the brand requires it (403 ai_consent_required)

List your knowledge-base collections (named sets of documents used by assistants and bots).

Parameters: no parameters.

kb_list_documents#

Risk: R0 · Confirmation: none · Sandbox: read · needs the AI consent where the brand requires it (403 ai_consent_required)

List the documents of your knowledge base: docId, fileName, title, status, folder, size, updatedAt.

Parameters Type Description
folder string Only this folder

kb_note_update#

Risk: R1 · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Change a text note/rule of the knowledge base (a document added as a rule or Q&A, not an uploaded file). mode "append" (default) adds a paragraph; mode "replace" rewrites title and text of YOUR note. Pass expectedRevision from a previous call — without it the tool only returns the current revision and text status. The changed document waits for review (reviewRequired) before assistants use it.

Parameters Type Description
docId (required) string
mode "append" | "replace"
expectedRevision string revision from the previous kb_note_update / kb_drafts_list answer
body (required) string append: 3–4000 chars; replace: the whole new text, up to 8000
operationId string Idempotency key of an append (12 hex); generated if omitted
title string replace: new title (2–160 chars)
form "rule" | "qa"
question string replace with form=qa
folder string
effectiveFrom string YYYY-MM-DD
accessLevel string

Risk: R0 · Confirmation: none · Sandbox: read · needs the AI consent where the brand requires it (403 ai_consent_required)

Semantic + keyword search over your knowledge base; returns the best matching passages with docId.

Parameters Type Description
query (required) string
topK integer
collectionId string Search only this collection

kb_upload_document#

Risk: R1 · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Add a document to the knowledge base from text (markdown) or a file in base64 (pdf, docx, txt…; ≤ 4 MB via MCP). It is processed in the background (status "processing" → "ready"; check with kb_list_documents).

Parameters Type Description
fileName (required) string e.g. "menu-rules.md" or "contract.pdf"
mimeType string
folder string
content string File body as plain text (markdown, txt, csv, json…).
contentBase64 string File body as base64 — for binary files (pdf, docx, images). Max 4 MB.

site — Storefront, website and marketing#

Storefront of a location, Static Website Builder, "My Site" widgets, trigger campaigns, blog, reviews. (26: 17 / 6 / 3)

Tool Purpose Risk Confirmation Sandbox
apply_site_template Apply site template R2 · publish hint preview
blog_posts_get Blog posts get R0 none not_in_sandbox
blog_posts_list Blog posts list R0 none not_in_sandbox
blog_posts_save_draft Blog posts save draft R1 none preview
check_domain_availability Check domain availability R0 none not_in_sandbox
get_site_settings Get site settings R0 none read
list_site_templates List site templates R0 none not_in_sandbox
rename_site_domain Rename site domain R2 · publish hint preview
reviews_list Reviews list R0 none not_in_sandbox
reviews_reply_draft Reviews reply draft R1 none preview
triggers_get Triggers get R0 none not_in_sandbox
triggers_list Triggers list R0 none not_in_sandbox
triggers_save_draft Triggers save draft R1 none preview
triggers_stats Triggers stats R0 none not_in_sandbox
triggers_toggle Triggers toggle R2 · outbound hint preview
update_site_settings Update site settings R1 none preview
website_edit_draft Website edit draft R1 none preview
website_get Website get R0 none not_in_sandbox
website_list Website list R0 none not_in_sandbox
website_page_get Website page get R0 none not_in_sandbox
website_pages_list Website pages list R0 none not_in_sandbox
website_publish_preview Website publish preview R0 none not_in_sandbox
widget_config_get Widget config get R0 none read
widget_config_update Widget config update R1 none session
widget_embed_snippet_get Widget embed snippet get R0 none not_in_sandbox
widgets_status_list Widgets status list R0 none read

apply_site_template#

Risk: R2 (publish) · Confirmation: hint · Sandbox: preview

Apply a curated design template to a location's client site — sets webAppearance (merged over the current appearance, so welcome text etc. survive), cardLayout and webTemplateId in one operation, exactly like the admin gallery's one-click apply.

Parameters Type Description
domain (required) string Location domain code
templateId (required) string Template id from list_site_templates

blog_posts_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One blog post in full (body HTML, translations, SEO fields, FAQ) by id or slug.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
id string
slug string

blog_posts_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Blog posts of the location website (any business type): title, slug, status draft/published/scheduled, dates.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
status "draft" | "published" | "scheduled"
search string
limit integer
offset integer

blog_posts_save_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a blog post draft or change an existing DRAFT. Never publishes: the owner publishes in Admin → Pages. A published or scheduled post is not changed here — create a new draft instead.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
id string id of an existing draft; omit to create
slug string
title string
titleTranslations object
excerpt string
excerptTranslations object
bodyHtml string
bodyHtmlTranslations object
coverImageUrl string
seoTitle string
seoDescription string
seoKeywords array
faq array
noindex boolean

check_domain_availability#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Check whether a subdomain name is free for a location's client site (3–63 chars, letters/digits/dashes, reserved names refused) — the same validation the admin's domain «Apply» button runs. Pure check: nothing is changed. Requires authentication.

Parameters Type Description
candidate (required) string Desired domain name (subdomain part only)
domain string Current domain code of the location (lets you re-check your own name)

get_site_settings#

Risk: R0 · Confirmation: none · Sandbox: read

Read the client-site (storefront) configuration of a location you have access to: page title, business type, feature toggles (ordering, call-waiter, callback, cookies…), delivery/pickup/WhatsApp config, appearance (colors/fonts/corners/template), card layouts, images metadata, proactive-engagement campaigns, currency markets, A/B design test, and — for retail — the shop display/SEO/home-sections/chrome/plugins settings. Returns exactly the keys update_site_settings can write. Requires authentication.

Parameters Type Description
domain (required) string Location domain code, e.g. MYCAFE

list_site_templates#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

List the curated one-click design templates for the client menu site (same gallery as the admin app): id, thematic group, style (accent/background/fonts/corners/per-element colors) and card layout. Apply one with apply_site_template.

Parameters: no parameters.

rename_site_domain#

Risk: R2 (publish) · Confirmation: hint · Sandbox: preview

⚠️ Rename a location's client-site domain (subdomain). Checks availability and, if free, performs the full server-side rename (profile update + CDN content move) — every existing guest URL and printed QR code pointing at the old domain stops working. Owner-only (verified server-side). Run check_domain_availability first and confirm with the user before calling.

Parameters Type Description
domain (required) string CURRENT domain code of the location
newDomainName (required) string New domain name to claim

reviews_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Private guest reviews (after an order, QR menu, checkout, pop-up, a salon/clinic visit or a hotel stay): rating, text, status new/seen/resolved, open case. Filter by rating to find problems.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
status "new" | "seen" | "resolved"
minRating integer
maxRating integer
source "order" | "qr" | "checkout" | "popup" | "visit" | "stay"
hasOpenCase boolean
limit integer
offset integer

reviews_reply_draft#

Risk: R1 · Confirmation: none · Sandbox: preview · personal data — per role rights

Save a draft reply (and an optional internal note) to a guest review, privately in the account. Nothing is sent to the guest or published anywhere — a person sends it.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
reviewId (required) string
draftReply (required) string
internalNote string

triggers_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One trigger message (or chain) in full, with the document revision rev and totals.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
id (required) string
kind "messages" | "chains" messages (default) or chains

triggers_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Trigger messages of a location (automatic pop-ups, chat messages, e-mails, web push and messenger messages on visitor events) or trigger chains: status, trigger, channel, totals (sent, read, clicked, goal, revenue) and the document revision rev.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
kind "messages" | "chains" messages (default) or chains
status "active" | "paused" | "draft"

triggers_save_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Create a trigger message or change one — always saved as a DRAFT (switched off). An active message is not changed here: pause it with triggers_toggle first. Pass rev from triggers_list/triggers_get. The answer lists issues to fix before it can be switched on.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
message (required) object id (omit to create), name, trigger, delay, segmentId, channel, frequency, goal, variants — as in triggers_get
rev integer Document revision from triggers_list / triggers_get

triggers_stats#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Statistics of one trigger message or chain for the last days: sends, reads, clicks, replies, goals, revenue, A/B.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
id (required) string
days integer
kind "messages" | "chains" messages (default) or chains

triggers_toggle#

Risk: R2 (outbound) · Confirmation: hint · Sandbox: preview

Switch a trigger message on (active), pause it or move it back to draft. ⚠️ "active" starts automatic messages to real visitors and contacts — ask the user to confirm before switching on. Pausing is safe.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
id (required) string
status (required) "active" | "paused" | "draft"
confirmLoops boolean Switch on even though it forms a loop with other triggers

update_site_settings#

Risk: R1 · Confirmation: none · Sandbox: preview

Update the client-site configuration of a location you can edit. The patch DEEP-MERGES into the location profile (send only the keys you change; set a key to null to delete it), via the same background-merge pipeline the admin app uses — changes go live in a few seconds. Top-level keys: pageTitle, pageTitleTranslations, heroImage/logoImage/backgroundImage/faviconImage (filenames of already-uploaded images). settings.* keys: businessType, showPausedItems, showStoplistItems, callWaiterEnabled, callback, orderingDisabled, guestOrderAppendOnly, deliveryConfig, cookiesEnabled, showCategoryMenu, cardLayout, cardLayoutOptions, cardLayoutSettings, webTemplateId, backgroundDisplayMode, faviconMode, webAppearance (colors #RRGGBB, font preset ids, corner styles), webEngagement, currencyMarkets, abExperiment, and retail shopDisplay/shopUrlStructure/shopSeo/shopHomeSections/shopChrome/shopPlugins/sizeGuides. Renaming the location domain is NOT done here — use rename_site_domain.

Parameters Type Description
domain (required) string Location domain code
patch (required) object Partial profile update: { pageTitle?, …, settings?: { … } }. Read get_site_settings first.

website_edit_draft#

Risk: R1 · Confirmation: none · Sandbox: preview · needs the AI consent where the brand requires it (403 ai_consent_required)

Ask the website builder AI to change the DRAFT of a site in plain words ("add an opening-hours section", "make the header darker"). It rebuilds the draft preview (draft address); the LIVE site does not change until the owner publishes in Admin → Website. Poll the job with website_get { siteId, jobId }. Account owner only.

Parameters Type Description
siteId (required) string
instruction (required) string What to change, up to 32 KB
engine "codex" | "api:openai" | "api:gemini" Omit for the site default

website_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One builder website: settings, editing session state, optionally the AI-edit chat and a job status (jobId).

Parameters Type Description
siteId (required) string
includeChat boolean Also the last messages of the edit chat
jobId string Check this build/edit job (from website_edit_draft)

website_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

List the websites built with the Cenaly website builder (static multi-page sites on .site.cenaly.com): siteId, location, slug, status draft/published, draft and live addresses. Account owner only; available on international brands (not on cenaly.ru — there use get_site_settings and blog_posts_).

Parameters Type Description
locationId string Only sites of this location

website_page_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Read one page. builder: the draft HTML of pagePath ("/", "/about"…), textOnly strips markup; paginate with offset/maxChars. cms: the storefront content page by id or slug.

Parameters Type Description
source "builder" | "cms"
siteId string
pagePath string builder: "/" or "/about" or "menu/index.html"
textOnly boolean
offset integer
maxChars integer
id string cms: page id
slug string cms: page slug
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.

website_pages_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Pages of a site. source "builder" (default): pages of the builder site draft and whether each is already live (siteId required). source "cms": content pages of the location storefront (pages.location.json, both clouds).

Parameters Type Description
source "builder" | "cms"
siteId string
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.

website_publish_preview#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

What publishing the site would change: files and pages added, changed and removed between the draft and the live site. Read-only — it does NOT publish; publishing is done by the owner in Admin → Website.

Parameters Type Description
siteId (required) string

widget_config_get#

Risk: R0 · Confirmation: none · Sandbox: read

Settings of one widget: chat (guest chat), popups (pop-ups / web engagement), booking (tables, rooms, resources), appointments (services booking: hours, deposit, change cutoff), cookies (cookie banner, account owner only), help_center (help center structure).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
widget (required) "chat" | "popups" | "booking" | "appointments" | "cookies" | "help_center"

widget_config_update#

Risk: R1 · Confirmation: none · Sandbox: session

Change one widget: enabled switches it on/off in the site loader; config is a partial change of its settings (chat: greeting, launcher, panel, quickActions, campaigns, workingHours, botMode…; popups: the whole webEngagement object; booking: {reservationsEnabled}; appointments: {appointmentHours, appointmentDeposit, guestChangeCutoffHours, reservationsEnabled}; cookies: consent settings (owner only); help_center: {categories, portal} — the WHOLE structure, read it first). Read the current values with widget_config_get.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
widget (required) "chat" | "popups" | "booking" | "appointments" | "cookies" | "help_center"
enabled boolean
config object

widget_embed_snippet_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

The HTML code to put on an external website: one universal loader tag (it raises all switched-on widgets), optionally the standalone tag of one widget, and optionally a live check that the tag is installed on a page (verifyUrl, account owner only).

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.
widgetId "consent" | "chat" | "engage" | "booking" | "appointment" | "classes" | "school" | "order" | "help" | "legal" | "webcall" | "callback" | "multibutton" | "video" | "proof"
verifyUrl string https:// page of the owner's site to check

widgets_status_list#

Risk: R0 · Confirmation: none · Sandbox: read

Status of every website widget of a location (chat, cookie banner, pop-ups, table/room booking, appointments, classes, school, online order, help center, legal documents, web call, callback, multi-button, video, live proof): switched on in the location profile, paid add-on entitlement, effective on the site, last install check.

Parameters Type Description
domain string Location domain code (as in resolve_domain). Either domain or locationId.
locationId string Location id from list_locations. Either domain or locationId.
ownerId string Owner account id of a location shared with you (from list_locations); omit for your own.

ops — Daily operations#

Daily operations: catalog and stop-list, orders, revenue and risk analytics, stock, customers, reservations and appointments, staff, vertical summaries. (21: 19 / 2 / 0)

Tool Purpose Risk Confirmation Sandbox
analytics_revenue_summary Revenue summary R0 none not_in_sandbox
analytics_risk_alerts Cash-desk risk alerts R0 none not_in_sandbox
appointments_list Appointments R0 none not_in_sandbox
catalog_categories_list Catalog categories R0 none read
catalog_item_get Catalog item card R0 none not_in_sandbox
catalog_item_upsert_draft Create/update catalog item (draft) R1 none preview
catalog_items_search Search catalog items R0 none read
catalog_stoplist_set Set stop-list (86) R1 none session
customers_get Customer card R0 none not_in_sandbox
customers_search Search customers R0 none not_in_sandbox
dashboards_summary Dashboard summary R0 none not_in_sandbox
inventory_docs_get Inventory document R0 none not_in_sandbox
inventory_docs_list Inventory documents R0 none not_in_sandbox
inventory_stock_list Stock levels R0 none not_in_sandbox
orders_get Order R0 none not_in_sandbox
orders_list Orders R0 none not_in_sandbox
reservations_list Reservations R0 none not_in_sandbox
staff_list Employees R0 none not_in_sandbox
staff_roles_list Staff roles R0 none not_in_sandbox
staff_timesheet_summary Timesheet summary R0 none not_in_sandbox
vertical_summary Vertical summary R0 none not_in_sandbox

analytics_revenue_summary#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Revenue for a period: gross, net of refunds, refunds, orders count, average order value; buckets by hour/day/week/month, optional split and comparison with the previous period.

Parameters Type Description
from (required) string YYYY-MM-DD or ISO.
to (required) string YYYY-MM-DD (inclusive) or ISO.
locationIds array Location ids; empty — all you can see.
granularity "hour" | "day" | "week" | "month"
groupBy "locationId" | "orderType" | "channel" | "staffSub"
comparePrevious boolean
tz string IANA time zone, e.g. Asia/Tbilisi (default UTC).

analytics_risk_alerts#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Triggered control signals: void series, discount sprees, cash discrepancies, inventory variance, purchase price spikes, drawer over limit.

Parameters Type Description
locationId string
severity "high" | "medium"
rule string
limit integer

appointments_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · Verticals: beauty, booking_services, education · personal data — per role rights

Service appointments with specialists and rooms/resources (salons, clinics, car service, lessons). Specialists see full details only of their own visits.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
from string YYYY-MM-DD
to string YYYY-MM-DD
resourceId string
serviceItemId string
status string
limit integer

catalog_categories_list#

Risk: R0 · Confirmation: none · Sandbox: read

Category tree of a location catalog (menu, product categories or service categories): id, name, parentId, order, status, item count.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
includeHidden boolean Include archived/hidden categories (default false).

catalog_item_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Full card of one catalog item by itemId or barcode: names, prices per location, type (product/dish/service), duration, options/variants, stop-list state.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
itemId string
barcode string

catalog_item_upsert_draft#

Risk: R1 · Confirmation: none · Sandbox: preview

Without itemId: create a new item HIDDEN from guests (published:false) — the owner reviews and publishes it in the admin app. With itemId: update name/description/price (price of this location). Not on cenaly.ru for new items.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
itemId string Omit to create.
categoryId string Required to create.
name string
nameTranslations object
description string
descriptionTranslations object
price number In major currency units of the location.
allowZeroPrice boolean
sku string
barcode string
itemType "dish" | "product" | "service"
durationMinutes integer

Risk: R0 · Confirmation: none · Sandbox: read

Search catalog items of a location (products, dishes or services) by text, SKU, category (optionally with subcategories) and status; cursor pagination.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
q string
categoryId string
includeSubtree boolean
status "active" | "paused" | "archived" | "hidden" | "all"
lang string
cursor string
limit integer

catalog_stoplist_set#

Risk: R1 · Confirmation: none · Sandbox: session

Put an item on the stop-list ("86", temporarily unavailable) or take it off — at this location (default) or at all locations; optional automatic return time until.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
itemId (required) string
stoplist (required) boolean
until string ISO time of automatic return.
scope "location" | "all" Default location.

customers_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Card of one guest/client/patient (id from customers_search, source cdp|guest|patient) with recent orders. Requires the contacts right; closed medical notes are never returned.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
id (required) string
source "cdp" | "guest" | "patient"
phone string source guest: phone from customers_search.
email string
includeRecentOrders boolean

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Find guests/clients/patients of a location by name, phone or email (chat/CDP contacts, hotel/salon guests, clinic patients). Requires the contacts right.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
query string
phone string
email string
limit integer

dashboards_summary#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Management summary: phone in money (calls, missed, linked orders and bookings, revenue from calls, lost estimate, risk flags) and the list of saved dashboards.

Parameters Type Description
from string
to string
locationIds array Location ids; empty — all you can see.
comparePrevious boolean
includeDashboardsList boolean
includeSourcesCatalog boolean

inventory_docs_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

One warehouse document with all lines (product, delta/set quantity, unit price, cells) and source.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
month (required) string
docId (required) string

inventory_docs_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Warehouse documents of a month: receipts, write-offs, sales deductions, stocktakes, production, transfers, returns. Private-seller details are never included.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
month (required) string YYYY-MM
type string
supplierId string
cursor string
limit integer

inventory_stock_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Current stock of a location/warehouse: quantity, unit, minimum and below-minimum items, purchase cost (only with finance/inventory access), optional cells.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
search string
onlyBelowMin boolean
onlyNonZero boolean
includeCells boolean
limit integer
offset integer

orders_get#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

One order by id (location domain + orderId). includePii — guest contacts of a completed order (owner or contacts right only).

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
orderId (required) string
includePii boolean

orders_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Orders: live feed of the last day or history by period (from/to, status, guest phone); only locations you can access. Guest contacts masked without contacts right.

Parameters Type Description
mode "live" | "history"
locationIds array Location ids; empty — all you can see.
from string
to string
timeField "createdAt" | "placedAt"
status array
phone string
cursor string
limit integer

reservations_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · Verticals: restaurant, cafe, bar, fastfood, canteen, hotel · personal data — per role rights

Table/hall reservations (food service) or room reservations (hotel) for a period. kind auto picks rooms for hotels. Guest contacts masked without contacts right.

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
kind "auto" | "table" | "room"
from string YYYY-MM-DD
to string YYYY-MM-DD
status string
limit integer

staff_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Employees of the account: name, role, active, login, locations. Without staff management rights — only your own card. No pay rates, documents or PINs.

Parameters Type Description
locationId string
roleId string
activeOnly boolean

staff_roles_list#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Roles of the account role builder: sections, access level, location scope.

Parameters: no parameters.

staff_timesheet_summary#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · personal data — per role rights

Planned schedule vs actual timesheet for a month: shifts, hours, open shifts, clock reviews pending, sources of clock marks, corrections, declared cash tips. No pay data.

Parameters Type Description
month (required) string YYYY-MM
locationId string
employeeSub string

vertical_summary#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox · Verticals: hotel, education, pickup_point

Operational summary of a specialized module: hotel (rooms, arrivals, departures, occupancy), school (groups, debts, attendance, applications), pickup point (parcels, overdue, COD, cells).

Parameters Type Description
locationId string Location id (list_locations).
domain string Location domain code; alternative to locationId.
ownerId string Owner id of a location shared with you; omit for your own.
vertical "hotel" | "school" | "pickup_point" Auto from the location business type.
from string hotel: YYYY-MM-DD; school: YYYY-MM
to string

data — Storage data#

Raw access to account storage files and signals (secret and system keys are always refused). (6: 3 / 0 / 3)

Tool Purpose Risk Confirmation Sandbox
delete_file Delete file R2 · delete hint preview
list_files List files R0 none not_in_sandbox
read_file Read file R0 none not_in_sandbox
resolve_domain Resolve domain R0 none not_in_sandbox
write_file Write file R2 · delete hint preview
write_signal Write signal R2 · delete hint preview

delete_file#

Risk: R2 (delete) · Confirmation: hint · Sandbox: preview

Delete one file in your own account data or a location you can edit.

Parameters Type Description
domain string
path (required) string

list_files#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

List files under a path prefix in your own account data, or a location you have access to (pass domain). Covers menu, CRM, inventory, staff, POS/KDS settings, documents, product specs and most other account data (see docs/s3/README.md for the full map). Requires authentication.

Parameters Type Description
domain string Location domain code; omit to browse your own account-level files
path string Sub-path/prefix, e.g. "inventory/" — omit for the root

read_file#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Read one file from your own account data or a location you have access to: JSON/text as text, binary files (pdf, images, office documents) as a download URL valid 15 minutes.

Parameters Type Description
domain string Location domain code; omit for your own account-level files
path (required) string File path relative to the account/location root
offset integer Character offset to read from (large files come in pages; default 0)
maxChars integer Characters to return (default 60000, max 200000)

resolve_domain#

Risk: R0 · Confirmation: none · Sandbox: not_in_sandbox

Resolve a brand/location domain code to its internal locationId and ownerUserId, for use with the domain argument of list_files/read_file/write_file/delete_file/write_signal. Requires authentication.

Parameters Type Description
domain (required) string Location domain code, e.g. MYCAFE

write_file#

Risk: R2 (delete) · Confirmation: hint · Sandbox: preview

Directly overwrite one settings/data file (JSON) in your own account data or a location you can edit. Refuses canonical event-sourced files (menu/profile/CRM aggregates etc.) — use write_signal for those.

Parameters Type Description
domain string
path (required) string
content (required) string Valid JSON text, max 5MB

write_signal#

Risk: R2 (delete) · Confirmation: hint · Sandbox: preview

Submit a change to an event-sourced domain (menu, profile, CRM, documents, feature definitions, ...) as a signal file, the same safe mechanism create_order/create_reservation already use — a background process merges it into the canonical file. suffix/action follow the domain's documented signal naming (e.g. suffix "userprofile", action "update"); payload is the delta object.

Parameters Type Description
domain (required) string
suffix (required) string Signal type, e.g. "userprofile", "menu-item", "featuredefinition"
action (required) "create" | "update" | "delete"
payload (required) object

partners — Partner programme (brand root only)#

Brand partner programme — visible only to the programme root. (7: 3 / 3 / 1)

Tool Purpose Risk Confirmation Sandbox
partner_candidate_add_note Add a note to a partner candidate R1 none hidden
partner_candidate_restore Restore a partner candidate from trash R1 none hidden
partner_candidate_tag Tag a partner candidate R1 none hidden
partner_candidate_trash Move a partner candidate to trash R2 · delete hint hidden
partner_candidates_get Partner candidate card R0 none hidden
partner_candidates_list List partner candidates R0 none hidden
partner_candidates_search Search partner candidates R0 none hidden

partner_candidate_add_note#

Risk: R1 · Confirmation: none · Sandbox: hidden · partner programme root only

Append a note to the candidate (dated, marked "via MCP"); earlier notes are kept, nothing is replaced. Up to 2000 characters per note; the card holds 5000 characters of notes in total. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
candidateId (required) string Candidate id (= lead id, e.g. "ld-…") from partner_candidates_list/search.
text (required) string Note text.
version (required) integer Current version of the candidate from partner_candidates_get (or the list). A stale version is refused with 409 — re-read and retry, never guess.

partner_candidate_restore#

Risk: R1 · Confirmation: none · Sandbox: hidden · partner programme root only

Restore a candidate from the trash. Restoring does NOT lift a «Do not contact» suppression — the stricter rule wins. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
candidateId (required) string Candidate id (= lead id, e.g. "ld-…") from partner_candidates_list/search.
version (required) integer Current version of the candidate from partner_candidates_get (or the list). A stale version is refused with 409 — re-read and retry, never guess.

partner_candidate_tag#

Risk: R1 · Confirmation: none · Sandbox: hidden · partner programme root only

Confirm, veto (remove) or un-veto one tag of a candidate, as the owner does in the card: "confirm" sets it (for an agent suggestion — accepts it), "veto" removes it and remembers the refusal (agents will not suggest it again), "unveto" forgets the refusal. Editable namespaces: arch, vert, sig, ops (own operator tag; "label" names a new one); dq — veto only. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
candidateId (required) string Candidate id (= lead id, e.g. "ld-…") from partner_candidates_list/search.
action (required) "confirm" | "veto" | "unveto"
tag (required) string "namespace:value", e.g. "sig:sells-pos", "arch:D2", "ops:hot".
label string Display name for a NEW ops: tag (optional).
version (required) integer Current version of the candidate from partner_candidates_get (or the list). A stale version is refused with 409 — re-read and retry, never guess.

partner_candidate_trash#

Risk: R2 (delete) · Confirmation: hint · Sandbox: hidden · partner programme root only

Move a candidate to the trash (kept 30 days, then purged). A trashed company is not brought back by later searches. This does NOT decide the «To review» shelf and does NOT block contact («Do not contact» is set only in the app). Confirm with the user before trashing. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
candidateId (required) string Candidate id (= lead id, e.g. "ld-…") from partner_candidates_list/search.
reason (required) "not_a_fit" | "duplicate" | "dead_site" | "operator" | "other" not_a_fit, duplicate, dead_site, operator (closed / no longer relevant), other.
note string Optional comment (why).
version (required) integer Current version of the candidate from partner_candidates_get (or the list). A stale version is refused with 409 — re-read and retry, never guess.

partner_candidates_get#

Risk: R0 · Confirmation: none · Sandbox: hidden · partner programme root only

Candidate card: organization, contacts, archetypes, country/city, tags (confirmed, vetoed, suggested), facts with evidence, review status, notes, stage, next action and the last 20 history events. Use its "version" for any change. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
candidateId (required) string Candidate id (= lead id, e.g. "ld-…") from partner_candidates_list/search.

partner_candidates_list#

Risk: R0 · Confirmation: none · Sandbox: hidden · partner programme root only

List candidates for the partner program of this brand («Partners → Leads → Candidates»): filters by view, country, archetype, stage, tag, score band, city. Returns rows with candidateId, version, name, domain, country, city, review status, stage, archetypes, tags, score/band and nextCursor; partial: true means the page was cut by the read budget — continue with nextCursor. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
view "all" | "review" | "trash" "all" — working list (default), "review" — the «To review» shelf (machine finds awaiting the owner), "trash" — trash.
country string ISO-2 office country, e.g. "GE".
archetype string Archetype code, e.g. "A1", "D2", "E1".
stage string Lead stage, e.g. "new", "contacted", "talking".
tag string One tag "namespace:value", e.g. "sig:sells-pos", "vert:beauty", "ops:hot".
band "A" | "B" | "C" | "D" | "U" Score band (U — not scored).
city string City: a place id "gn:" or a city name ("Tbilisi", "Тбилиси") — a name is resolved through the places directory (pass country to disambiguate). Only with view "all".
serves string ISO-2 country the candidate serves (service area). Only with view "all"; not together with city.
limit integer Rows per page (default 20).
cursor string nextCursor of the previous page (valid 1 hour, same filters).

Risk: R0 · Confirmation: none · Sandbox: hidden · partner programme root only

Search partner candidates by a substring of name / domain / city (lexical, inside the chosen view) plus the same filters as partner_candidates_list. Only the root of the brand partner program (the owner who runs it in the admin app) may use it; checked by the server on every call.

Parameters Type Description
q (required) string Text to find (≤100 chars), e.g. "pos", "tbilisi", "acme.ge".
view "all" | "review" | "trash" "all" — working list (default), "review" — the «To review» shelf (machine finds awaiting the owner), "trash" — trash.
country string ISO-2 office country, e.g. "GE".
archetype string Archetype code, e.g. "A1", "D2", "E1".
stage string Lead stage, e.g. "new", "contacted", "talking".
tag string One tag "namespace:value", e.g. "sig:sells-pos", "vert:beauty", "ops:hot".
band "A" | "B" | "C" | "D" | "U" Score band (U — not scored).
city string City: a place id "gn:" or a city name ("Tbilisi", "Тбилиси") — a name is resolved through the places directory (pass country to disambiguate). Only with view "all".
serves string ISO-2 country the candidate serves (service area). Only with view "all"; not together with city.
limit integer Rows per page (default 20).
cursor string nextCursor of the previous page (valid 1 hour, same filters).

MCP resources#

URI Title MIME
cenaly://account/vertical-profile Account profile: locations, verticals, terms, legal entities and contour application/json
cenaly://guide/accounting-books Accounting & Cenaly Books v2 guide text/markdown
cenaly://guide/crm-vs-books Counterparties → Bank vs Accounting → Book Bank, CRM documents & refunds text/markdown
cenaly://guide/overview Overview: domains, IDs, risks, confirmations and contours text/markdown
cenaly://guide/site-widgets-kb Storefront, Website Builder, widgets, triggers & knowledge base text/markdown
cenaly://guide/tasks-projects Team tasks, checklists, work chat, management projects & CRM deals text/markdown

MCP prompts#

Prompt Title Arguments (* required)
audit_storefront_and_widgets Audit storefront, Website Builder, widgets, triggers & KB gaps domain, locationId
inventory_and_sales_check Inventory stock, below-minimum alerts, and sales performance locationId, period
month_close_check Month-end close readiness audit entityId*, period*, book
morning_brief Morning brief locationId, entityId, date
onboard_new_location Integrator playbook: onboard and configure a new business location locationId, vertical, country
prepare_b2b_documents Prepare B2B invoice, act, quote, or reconciliation act counterpartyQuery*, locationId, docType
process_refund_letter Parse and prepare a customer refund request from a letter locationId, fileId, text
project_pnl_review Management P&L by project and cost center entityId*, period*, projectId
reconcile_bank_month Reconcile bank statement of a month period*, entityId, locationId, contour
team_tasks_standup Team stand-up and checklist review locationId, assigneeName, days
Was this article helpful?