Skip to content

Unified Tools Reference (20 Enterprise + 4 IT/OT MCP Tools) ​

Internal AI profiles and external MCP clients interact with LatticeDX through 20 Unified Tools (createDxosTools() in ai-tools-core.js) and 4 Dedicated IT/OT MCP Tools (createItOtMcpTools() in mcp-itot-tools.js). Every tool is wrapped by createAuditedTool, enforcing a uniform security, validation, and audit pipeline on every invocation.

Audited Execution Pipeline (createAuditedTool) ​

Each tool call passes through six ordered gates:

GateControl StageEnforcement Behavior
1Identity & tenant resolution (resolveActorScope)Requires an authenticated caller; non-admin users must map to an active latticeEmployees record with a valid organizationId.
2Privilege & profile checkTools with adminOnly: true fail with 403 DXOS_ADMIN_REQUIRED unless the caller holds root, admin, allowConfigure: true, or pm.*. When invoked under a latticeAiProfiles identity, tools marked OFF return 403 TOOL_PERMISSION_OFF.
3Persistent quota check (checkAndConsumeAiQuotaPersistent)Enforces daily organization and per-user call, token, and USD limits prior to execution (skipped on HITL-approved replays).
4Schema validation (defineToolSchema)Validates required arguments, types, enums, and string bounds, rejecting invalid payloads with 400 TOOL_ARGS_INVALID.
5Tenant RLS execution (runWithTenantRls)Binds transaction-local app.current_org for PostgreSQL FORCE ROW LEVEL SECURITY (except App Builder ORCHESTRATOR_OPS, which manage per-stage RLS transactions).
6PII redaction & audit logging (recordAiAuditLog)Masks sensitive keys and PII patterns in arguments and outputs, records token/cost metrics, and writes an audit entry to latticeAiAuditLogs.

Group 1: Schema & Portal Builder Tools (5 tools · adminOnly: true) ​

dxos_inspect_architecture ​

Inspects live portals (/p/*), pages, lattice* business collections, active workflows, roles, and AI profiles. Tool default permission: ALLOW; requires administrator privileges.

dxos_inspect_architecture Parameters
ParameterTypeDefaultDescription
portalSlug
string—Optional portal slug (max 40 chars, ^[a-z0-9][a-z0-9-]{1,39}$) to return gridUid and blockUids.

dxos_compose_page_blocks ​

Inspects, inserts inline blocks (12 Native v2 BlockModels or formal flowSurfaces blocks), sets multi-column grids, applies deep block settings, reorders, or removes blocks on a portal page. Tool default permission: ASK; automatically captures a latticeUiSnapshots backup prior to mutation and blocks SYSTEM_PROTECTED_COLLECTIONS.

dxos_compose_page_blocks Parameters
ParameterTypeDefaultDescription
action
stringaddBlockOne of: addBlock, listBlocks, composePageBlueprint, updateBlock, reorderBlocks, setGridLayout, configureNativeBlock, removeBlock.
portalSlugrequired
string—Target portal slug (max 40 chars).
pageTitle
string—Optional page title filter (max 100 chars).
groupTitle
string—Navigation group title for composePageBlueprint.
blockUid
string—Target block UID for updateBlock, configureNativeBlock, or removeBlock.
blockUse
string—Allowed BlockModel class or flowSurfaces key (12 Dxos*BlockModel, NativeTableBlock, table, kanban, chart, filterForm, etc.).
title
string—Block or page title.
collection
string—Target collection name for data-bound blocks.
fields
array<string>—Field list for inline addBlock.
tableFields
array<string>—Table columns for composePageBlueprint.
includeCreateForm
booleanfalseAdds a Native createForm block in composePageBlueprint.
dxosBlocks
array<object>—Array of { blockUse, title, config } blocks attached in composePageBlueprint.
orderedBlockUids
array<string>—Ordered block UID array for reorderBlocks.
placeBesideBlockUid
string—Existing block UID to share a [12, 12] two-column row during addBlock.
rowsLayout
array<object>—Multi-column row layout array for setGridLayout (row span sum <= 24).
surfaceAction
string—flowSurfaces action: addField, addAction, addRecordAction, updateSettings, setFieldLinkageRules, setFieldValueRules.
surfacePayload
object—Payload passed to flowSurfaces for configureNativeBlock.
config
object—Block configuration overrides object.
configJson
string—JSON string of block configuration overrides (max 4000 chars).
roleNames
array<string>—ldx_* roles granted visibility on newly created page routes.
dryRun
booleanfalsePreviews changes without writing to the database.

dxos_manage_portal_and_acl ​

Creates or updates /p/<slug> portal layouts and grants or revokes desktop route visibility for business roles. Tool default permission: ASK; filters roleNames with isBusinessRoleName to block root, admin, anonymous, member, ldx_sysadmin, ldx_connector, and r_* roles.

dxos_manage_portal_and_acl Parameters
ParameterTypeDefaultDescription
operation
stringgrantOperation: grant or revoke.
slugrequired
string—Portal slug matching ^[a-z0-9][a-z0-9-]{1,39}$.
title
string—Portal display title (max 100 chars).
roleNames
array<string>—Target ldx_* business role names.
dryRun
booleanfalsePreviews changes without DB writes.

dxos_extend_collection_schema ​

Inspects or creates latticeCustom* collections, appends fields (12+ types, belongsTo/hasMany/hasOne/belongsToMany relations, Safe AST formulas, Thompson NFA regex validation), updates field metadata, or non-destructively deprecates fields (deprecateField). Tool default permission: ASK; rejects SYSTEM_PROTECTED_COLLECTIONS (403 SYSTEM_COLLECTION_FORBIDDEN), blocks prototype pollution, and enforces FORCE ROW LEVEL SECURITY on all custom and join tables.

dxos_extend_collection_schema Parameters
ParameterTypeDefaultDescription
operationrequired
string—One of: createCollection, addFields, inspectCollection, updateFieldMeta, deprecateField.
collectionNamerequired
string—Target collection; createCollection requires ^latticeCustom[A-Z][A-Za-z0-9]{1,40}$.
title
string—Collection or field display title.
fieldName
string—Target field for updateFieldMeta or deprecateField (core fields id, organizationId, createdAt, updatedAt are protected).
uiSchema
object—uiSchema updates for updateFieldMeta.
enumValues
array<string>—Updated enum options for updateFieldMeta.
reason
string—Deprecation note stored when operation=deprecateField.
fields
array<object>—Field specs ({ name, type, title, enumValues, target, through, foreignKey, otherKey, formulaExpression, formulaReturnType, validation, required, unique }).
dryRun
booleanfalsePreviews normalized fields without DB writes.

dxos_manage_rbac_permissions ​

Inspects or creates ldx_* roles, grants granular resource/action/scope permissions, locks writable fields (lockFields), or revokes grants on dataSourcesRolesResources. Tool default permission: ASK; rejects non-business role names (ROLE_TARGET_FORBIDDEN) and system collections (SYSTEM_COLLECTION_FORBIDDEN).

dxos_manage_rbac_permissions Parameters
ParameterTypeDefaultDescription
operationrequired
string—One of: inspectRole, ensureCustomRole, grantResource, lockFields, revokeResource.
roleNamerequired
string—Business role name matching ^ldx_[a-z][a-z0-9_]{1,40}$.
title
string—Display title for ensureCustomRole.
cloneFromRole
string—Optional ldx_* source role to clone grants and routes from.
collectionName
string—Target collection for grantResource, lockFields, or revokeResource.
actions
array<string>—Permitted actions: view, create, update, destroy, export.
readableFields
array<string>—Fields exposed on view action.
writableFields
array<string>—Candidate fields for create/update before lockedFields filtering.
lockedFields
array<string>—Fields stripped from create and update grants.
hideLockedFromView
booleanfalseAlso strips lockedFields from view action when true.
scopeMode
stringall_in_orgRow visibility scope: all_in_org, own, or own_draft.
dryRun
booleanfalsePreviews changes without DB writes.

Group 2: Flow, DMN & Stock n8n Tools (2 tools · adminOnly: true) ​

dxos_deploy_workflow ​

Installs standard NocoBase workflow templates or the ai-incident-triage rule for an organization, automatically resolving role assignees from latticeEmployees. Tool default permission: ASK.

dxos_deploy_workflow Parameters
ParameterTypeDefaultDescription
templateKeyrequired
string—One of: procurement, logistics-5step, incident-uc2, internal-service, ai-incident-triage.
organizationId
string—Target organizationId (defaults to caller org).
enabled
booleantrueEnables the workflow immediately upon installation.
dryRun
booleanfalseResolves crew bindings without creating the workflow.

dxos_configure_workflow ​

Unified control tool across four automation subsystems: NocoBase Workflows (inspectWorkflow, updateNodeConfig, addNode, buildCustomWorkflow, toggleWorkflow), LatticeFlow v2 DAG (listAutomations, runAutomation, suggestAutomation, draftAutomation, patchAutomation, saveAutomation, testAutomation, resumeAutomation), Visual DMN (dmn_list_tables, dmn_save_table, dmn_evaluate), and Stock n8n REST API v1 + Connector Vault (listConnectors, testConnector, invokeN8n, list_n8n_workflows, create_n8n_workflow, update_n8n_workflow, activate_n8n_workflow, list_n8n_executions, retry_n8n_execution, sync_n8n_credential, list_connected_apps). Tool default permission: ASK; blocks prototype pollution, unsafe ${...} expressions, and SYSTEM_PROTECTED_COLLECTIONS.

dxos_configure_workflow Key Parameters
ParameterTypeDefaultDescription
operationrequired
string—One of 27 supported operations across Workflow v1, LatticeFlow v2, DMN, and Stock n8n.
ruleKey
string—LatticeFlow v2 rule key matching ^[a-z0-9][a-z0-9_-]{1,62}$.
graphJson
object—LatticeFlow v2 DAG object ({ version: 2, nodes, edges, settings }).
runUid
string—Suspended automation run UID for resumeAutomation.
decision
string—HITL decision for resumeAutomation: approved or rejected.
tableKey
string—DMN decision table key for dmn_list_tables, dmn_save_table, or dmn_evaluate.
hitPolicy
string—DMN hit policy (FIRST or COLLECT via AI configurator).
connectorKey
string—Vault connector key (e.g. n8n-enterprise-orchestrator).
workflowId
string—NocoBase or Stock n8n workflow ID.
workflow
object—Stock n8n workflow JSON payload for create_n8n_workflow / update_n8n_workflow.
apply
booleanfalseCommits Flow Architect mutations only when explicitly set to true.
dryRun
booleanfalseSimulates execution without DB or external writes.

Group 3: Surface, Creative Studio & App Builder 2.0 Tools (4 tools · adminOnly: true) ​

dxos_recommend_page_blueprint ​

Inspects a collection's field metadata (or infers the primary collection from portalSlug) and proposes a DxosCreativeStudioBlockModel blueprint, standard blocks, and multi-column grid layout. Tool default permission: ALLOW.

dxos_recommend_page_blueprint Parameters
ParameterTypeDefaultDescription
collectionName
string—Collection to inspect; auto-inferred from portalSlug when omitted.
portalSlug
string—Target portal slug.
pageTitle
string—Optional page title for collection inference.
targetRole
stringldx_employeeTarget role used to tailor pipeline stages and theme.
goal
string—Business goal guiding widget selection.

dxos_design_creative_block ​

Generates and places a guardrailed DxosCreativeStudioBlockModel (supporting 5 themes and 11 widget types including gauge, thermometer, rule-callout, stage-pipeline, distribution-bars, and quick-actions) from an explicit DSL or natural-language goal. Supports [12, 12] two-column placement via placeBesideTitle. Tool default permission: ASK; captures a Time-Machine snapshot before mutation and enforces isSafeLocalPath on navigation buttons.

dxos_design_creative_block Parameters
ParameterTypeDefaultDescription
portalSlugrequired
string—Target portal slug.
pageTitle
string—Target page title on the portal.
blockUid
string—Existing Creative block UID when updating.
placeBesideBlockUid
string—Existing block UID to share a [12, 12] row.
placeBesideTitle
string—Natural-language title hint to locate an adjacent block.
collectionName
string—Primary query collection.
title
string—Block display title.
theme
string—One of: industrial-cockpit, emerald-ops, amber-alert, royal-indigo, clean-light.
goal
string—Natural-language specification of metrics, thresholds, alerts, and actions.
blueprint
object—Explicit Creative DSL ({ title, subtitle, badge, theme, columns, queries, widgets }).
blueprintJson
string—JSON string version of blueprint (max 8000 chars).
dryRun
booleanfalsePreviews synthesized blueprint without DB writes.

dxos_snapshot_or_rollback_page ​

Captures, lists, or restores page layouts stored in latticeUiSnapshots. Tool default permission: ASK; blocks cross-organization rollback (DXOS_ORG_MISMATCH) for non-root administrators.

dxos_snapshot_or_rollback_page Parameters
ParameterTypeDefaultDescription
actionrequired
string—Operation: snapshot, listSnapshots, or rollback.
portalSlugrequired
string—Target portal slug.
pageTitle
string—Optional page title filter.
snapshotUid
string—Specific snapshot UID to restore (defaults to latest when omitted).
note
string—Note recorded when creating a manual snapshot.

dxos_provision_role_workspace ​

Dual-mode orchestrator: provisions a single role, page, and dedicated AI assistant (operation: "provision_role_workspace") or executes the full App Builder 2.0 lifecycle (plan_enterprise_app, build_enterprise_app, patch_enterprise_app, rollback_enterprise_app, verify_app, list_built_apps, rebuild_enterprise_app, export_app_bundle, teardown_built_app). Tool default permission: ASK; see App Builder 2.0 for full lifecycle details.

dxos_provision_role_workspace Core Parameters
ParameterTypeDefaultDescription
operation
stringprovision_role_workspace10 operations: provision_role_workspace plus 9 App Builder 2.0 orchestrator ops.
appKey
string—Application key for plan, patch, rollback, verify, rebuild, export, and teardown.
collections
array<object>—Multi-entity latticeCustom* collection definitions (sorted by Kahn algorithm).
roles
array<object>—Scoped ldx_* roles and lockedFields.
portals
array<object>—Portal pages (/p/<portalSlug>) and 12 Native v2 BlockModels.
patch
object—Incremental patch spec for plan_enterprise_app / patch_enterprise_app.
prompt
string—Natural-language prompt for planning or patching (max 2000 chars).
targetVersion
integer—Target snapshot version for rollback_enterprise_app.
keepData
booleantruePreserves collections and rows during teardown_built_app.
dryRun
booleanfalseDry-run mode without DB writes.

Group 4: Operational & HITL Tools (6 tools · adminOnly: false) ​

All six operational tools enforce dataSourcesRolesResources RBAC policies for the caller's role, row-level ownership (ownOnlySet), and tenant organizationId isolation.

dxos_search_enterprise_context ​

Executes hybrid RRF search across business collections (latticeOrders, latticeRequests, latticeServiceTickets, latticeIncidentCases, latticeAssets, latticeParaDocuments), dynamic latticeCustom* collections, P.A.R.A. vector chunks (latticeParaChunks), and persistent memories (scope: "ai_memory"). Tool default permission: ALLOW; blocks non-admin access to agent memory or forged agentId values.

dxos_search_enterprise_context Parameters
ParameterTypeDefaultDescription
query
string—Search keyword (max 120 chars).
collections
array<string>—Subset of searchable business or latticeCustom* collections.
scope
string—Set to ai_memory to search latticeAiMemory directly.
scopes
array<string>—Memory scopes when scope=ai_memory (org, user, session, or agent for admins).
memoryScope
string—Single memory scope filter.
agentId
string—Target agent identifier (admin-only when overriding).
includeMemories
boolean—Attaches advisory recalled memories alongside collection results.
limit
integer8Maximum items returned (clamped 1..30).

dxos_execute_record_action ​

Creates or updates records in WRITABLE_BUSINESS_COLLECTIONS (latticeServiceTickets, latticeOrders, latticeRequests, latticeParaDocuments) or latticeCustom*. Tool default permission: ASK (enqueues a latticeAiApprovalQueue HITL item with diffPreview and riskLevel); strips 12 PROTECTED_SERVER_FIELDS (id, createdAt, updatedAt, organizationId, status, version, requesterId, assigneeId, ownerId, decisionReason, resolutionNote, handlerId), validates field-level RBAC, and restricts non-managers to updating only their own draft records.

dxos_execute_record_action Parameters
ParameterTypeDefaultDescription
collectionrequired
string—Target collection in WRITABLE_BUSINESS_COLLECTIONS or latticeCustom*.
operationrequired
string—Write operation: create or update.
recordId
integer—Numeric record ID required when operation=update.
valuesrequired
object—Field values to write (protected server fields are stripped).
requireApproval
booleanfalseForces HITL queue insertion even when profile grants ALLOW.

dxos_my_workflow_tasks ​

Lists, analyzes, or submits pending (status: 0) workflowManualTasks assigned to the caller. Tool default permission: ASK; enforces ownership (403 TASK_NOT_ASSIGNED_TO_CALLER) and blocks self-approval of tasks whose workflow execution was initiated by the caller (403 SELF_APPROVAL_FORBIDDEN).

dxos_my_workflow_tasks Parameters
ParameterTypeDefaultDescription
actionrequired
string—Operation: list, analyze, or submit.
taskId
integer—Task ID required when action=submit.
formKey
stringreviewForm key for task submission.
decision
stringapproveSubmission decision string.
note
string—Optional review or handover note.

dxos_orchestrate_enterprise_case ​

Runs an organization-wide bottleneck scan (radar), correlates assets, SOPs, incidents, and tickets (correlateCase), or creates a linked multi-record response (executeCoordinatedResponse) spanning a primary record, a latticeServiceTickets follow-up, and a latticeParaDocuments handover note. Tool default permission: ASK; all reads and writes enforce collection-level and field-level RBAC.

dxos_orchestrate_enterprise_case Parameters
ParameterTypeDefaultDescription
moderequired
string—Mode: radar, correlateCase, or executeCoordinatedResponse.
query
string—Correlation search string for correlateCase.
primaryRecord
object—Object { collection, values } for the primary operational or custom record.
followUpTicket
object—Optional latticeServiceTickets payload linked to primaryRecord.
paraHandoverNote
object—Optional latticeParaDocuments handover payload.
dryRun
booleanfalsePreviews planned record creations without DB writes.

dxos_graph_impact_analysis ​

Traverses latticeDataLineage and structural cold-chain relationships (latticeAssets, latticeIncidentCases, latticeTwinShadows, latticeStockLots, latticeOrderLines, latticeOrders, latticeEpodRecords, latticeParaDocuments) via BFS to compute impactScore, [collection:code#id] citations, and optional telemetry. Tool default permission: ALLOW; bounded by MAX_GRAPH_DEPTH = 4 and MAX_GRAPH_NODES = 60, enforces RBAC on every traversed collection, and redacts PII before returning.

dxos_graph_impact_analysis Parameters
ParameterTypeDefaultDescription
collectionrequired
string—Starting collection (cannot be in SYSTEM_PROTECTED_COLLECTIONS).
recordId
string—Record ID (string or integer).
recordCode
string—Business code or asset URN (urn:ngsi-ld:Asset:<org>:native:<id>).
maxDepth
integer2BFS traversal depth bounded to 1..4.
includeTelemetry
booleanfalseIncludes up to 20 latticeTelemetryPoints rows if readable.

dxos_alarm_action ​

Acknowledges (ack) or clears (clear) active alarms in latticeIncidentCases. Tool default permission: ASK; routes through ai-hitl-executors.js, requires update RBAC permission on latticeIncidentCases, and clamps closure notes to 255 characters.

dxos_alarm_action Parameters
ParameterTypeDefaultDescription
actionrequired
string—Action: ack or clear.
alarmId
integer—Numeric alarm ID in latticeIncidentCases.
alarmCode
string—Optional alarm code (INC-... or ALM-...).
assetEntityId
string—Optional asset entity URN/ID.
note
string—Acknowledgement or closure note.
requireApproval
booleanfalseForces HITL queue insertion.

Group 5: Persistent Agent Memory Tools (3 tools · adminOnly: false) ​

Memories in latticeAiMemory are partitioned by organizationId and four scopes (org, agent, user, session). Mutating org memory or accessing/mutating agent memory requires administrator privileges (403 MEMORY_ORG_WRITE_FORBIDDEN / 403 MEMORY_AGENT_FORBIDDEN). Recalled memories are wrapped inside <dxos_memory_context advisory="true"> tags with delimiter stripping to prevent prompt injection.

dxos_memory_remember ​

Creates or upserts a factual memory entry keyed by memoryKey within the target partition. Tool default permission: ALLOW.

dxos_memory_remember Parameters
ParameterTypeDefaultDescription
scope
stringorgPartition scope: org, agent, user, or session.
memoryKeyrequired
string—Stable logical key for upsert/lookup (max 200 chars).
contentrequired
string—Factual content to store (max 8000 chars).
tags
array<string>—Searchable tags (max 32 items).
metadata
object—Structured metadata JSON object.
importance
number0.5Importance weight in [0, 1].
source
stringagentSource label (max 120 chars).
expiresAt
string—Optional ISO-8601 expiry timestamp.
ttlSeconds
integer—Optional TTL in seconds from now.
agentId
string—Agent identifier when scope=agent.
sessionId
string—Session identifier when scope=session.

dxos_memory_recall ​

Retrieves non-expired memories ranked by TF-IDF cosine similarity, keyword coverage, tag overlap, importance, and exponential recency decay (30-day half-life). Tool default permission: ALLOW.

dxos_memory_recall Parameters
ParameterTypeDefaultDescription
query
string—Search query text (max 1000 chars).
scope
string—Single partition scope: org, agent, user, or session.
scopes
array<string>—Array of authorized scopes to search.
tags
array<string>—Optional tag filter.
limit
integer8Maximum results returned (1..50).
minScore
number—Minimum relevance threshold in [0, 1].
agentId
string—Agent identifier when searching agent scope.
sessionId
string—Session identifier when searching session scope.

dxos_memory_forget ​

Deletes a memory record by id or memoryKey strictly inside the caller's organization and authorized scope. Tool default permission: ASK.

dxos_memory_forget Parameters
ParameterTypeDefaultDescription
id
integer—Numeric ID of the latticeAiMemory row.
memoryKey
string—Logical memoryKey to delete within scope.
scope
stringorgPartition scope: org, agent, user, or session.
agentId
string—Agent identifier when scope=agent.
sessionId
string—Session identifier when scope=session.

Group 6: 4 Dedicated IT/OT MCP Tools (/api/dxos-mcp/it-ot) ​

These four tools are exposed on the IT/OT MCP endpoint (mcp-itot-tools.js) for live telemetry inspection, stack connector probes, and controlled downlink/outbox dispatch.

get_live_ngsi_telemetry ​

Queries live entities from FIWARE Orion-LD (/ngsi-ld/v1/entities?local=true&limit=50) filtered strictly to actor.organizationId. Degrades gracefully (degraded: true) with cached latticeAssets and pendingOutboxCount if Orion-LD is unreachable. adminOnly: false, default permission: ALLOW.

get_live_ngsi_telemetry Parameters
ParameterTypeDefaultDescription
assetCode
string—Optional asset code substring filter (max 80 chars).

get_sensor_and_incident_timeline ​

Retrieves chronological latticeIncidentCases and latticeAgentProposals scoped to actor.organizationId, requiring RBAC read access on at least one collection. adminOnly: false, default permission: ALLOW.

get_sensor_and_incident_timeline Parameters
ParameterTypeDefaultDescription
assetEntityId
string—Optional asset entity URN/ID filter (max 140 chars).
limit
integer10Maximum rows per list (1..25).

get_stack_connector_health ​

Probes live health with 5-second timeouts across Orion-LD (/version), Stock n8n (/healthz), Keycloak (/realms/lattice), and the NocoBase database. adminOnly: true, default permission: ALLOW, takes no arguments.

dispatch_itot_webhook_or_sync ​

Queues an NGSI-LD replay entry in latticeContextOutbox (requeue_outbox) or triggers an allowlisted Stock n8n webhook (trigger_n8n) with an Idempotency-Key header. adminOnly: false, default permission: ASK; restricted to root, admin, ldx_admin, ldx_manager, and ldx_dispatcher (403 ITOT_DISPATCH_FORBIDDEN).

dispatch_itot_webhook_or_sync Parameters
ParameterTypeDefaultDescription
moderequired
string—Dispatch mode: requeue_outbox or trigger_n8n.
entityId
string—Target NGSI-LD entity URN (max 140 chars).
webhookSlug
stringdxos-itot-eventn8n webhook slug matching ^[a-z0-9][a-z0-9-]{1,60}$.
reasonrequired
string—Operational reason for replay or webhook trigger (max 300 chars).
idempotencyKey
string—Optional idempotency key (auto-generated if omitted).

Cross-Tool Safety Guardrails ​

GuardrailScopeEnforcement Behavior
SYSTEM_PROTECTED_COLLECTIONSSchema, RBAC, and GraphRAG toolsRejects (403) mutations or graph queries targeting 41 core system tables (users, roles, apiKeys, latticeAiAuditLogs, latticeAiProfiles, latticeBuiltApps, latticeCryptoLedger, etc.).
PROTECTED_SERVER_FIELDSdxos_execute_record_actionStrips 12 server-owned fields (id, organizationId, status, version, requesterId, ownerId, etc.) before DB writes.
latticeAiApprovalQueue (HITL)Tools configured as ASKPersists proposedArgs and diffPreview for independent human approval via dxosAi:approveAction (self-approval blocked).
validateMcpServerUrlMCP endpoints & trigger_n8nBlocks SSRF toward metadata, non-canonical numeric/hex hosts, and private IPs outside stack allowlists; enforces https:// externally.

Apache-2.0 · LatticeDX v0.4.2 · Powered by NocoBase · v2.2.50 · Apache-2.0 (Clause 5.2)