PrimeBrickPrimeBrick
  • Docs
  • Contact
  • MIT License
  • Documentation
  • MCP Server
  • API Catalog
  • Services
  • Libraries
PrimeBrickPrimeBrick

© 2026 PrimeBrick. MIT License. v3.11.2

github
Backend
    Roles and PermissionsWorking Together on the Same RecordManaging ModulesSigning In and MFA
    Generated
      Users ListCreate UserEdit UserRole Mappings ListCreate Role MappingEdit Role MappingOrganizations ListCreate OrganizationEdit OrganizationCustomers ListConfigurations ListCreate Configuration EntryModules ListEdit ModuleProfile ListEntity Field ReferenceFilter Operator ReferenceFilter Syntax GuideNavigation MapEntity API & Tool CatalogCreate ClientEdit ClientClients List
    Manual
    Developer Guide
Frontend
Microservices
powered by Zudoku
Generated

Entity API & Tool Catalog

The assistant can act on entities through the generic entity tools (exposed via MCP tools/list and the REST shim POST /api/v1/system/mcp/call). Every call is RBAC-enforced for the current user; write tools always require user confirmation before dispatching.

Tools

ToolKindArgumentsNotes
list_available_entitiesread—Discovery: all (module, entity) + supported operations + online status. Always call first.
get_entity_metareadmodule, entityField schema for create/update — required fields, types, flags.
list_entitiesreadmodule, entity, search?, search_in?, sort_key?, sort_dir?, page?, page_size?, filters?, deleted_records?, aggregate?Paginated list; aggregate switches to COUNT/SUM/AVG/MIN/MAX.
get_entityreadmodule, entity, uuidSingle record by UUID.
get_entity_auditreadmodule, entity, uuid, page?, page_size?Audit history for one record.
search_docsreadembedding, keywords?, limit?, repo?Docs KB vector+keyword search (caller supplies the embedding).
create_entitywritemodule, entity, datadata keys = snake_case entity fields; fetch get_entity_meta first.
update_entitywritemodule, entity, uuid, dataPartial update — only provided fields change.
delete_entitywritemodule, entity, uuid, versionSoft-delete; version is the optimistic-concurrency guard.
restore_entitywritemodule, entity, uuid, versionRestores a soft-deleted record.
bulk_entity_actionwritemodule, entity, action, items[]action: delete
manage_servicewriteaction, code?, data?Service registry: list

Entity operation matrix

Valid (module, entity) pairs and the operations each supports. Microservice entities appear dynamically — list_available_entities is the authoritative live source.

ModuleEntityLabelSupported operations
becustomerCustomerlist, get, create, update, delete, restore, audit, meta
beorganizationOrganizationlist, get, create, update, delete, restore, audit, meta
beuser_profileUser Profilelist, get, update, restore, audit, meta
beauth_eventAuth Eventslist, aggregate, meta

Writable fields per entity

be.customer

code (text), first_name (text), last_name (text), company_name (text), email (text), phone (text), status (badge), onboarding_at (datetime), status_reason (text), local_address (text), local_city (text), local_state (text), local_country (text), local_zip (text), onboarding_time_zone (text)

be.organization

display_name (text), idp_code (text), website_url (text), user_count (number)

Last modified on October 28, 2026
Navigation MapCreate Client
On this page
  • Tools
  • Entity operation matrix
  • Writable fields per entity
    • be.customer
    • be.organization