Security Integrations

28 entities and 106 agent-callable operations in integrations. Each operation is addressed as {mega_tool}/integrations/{entity}/{operation} and carries the same permission check over MCP and REST.

alert_route

OperationMega-toolWhat it does
createentity_crudCreate a chat alert route (it runs as you).
deleteentity_crudDelete a chat alert route and its Event Spine subscription.
listentity_crudList the organization's chat alert routes (topics, condition, recipients, providers, active).
previewsmart_actionPreview a chat alert route against a sample event: {route_id, topic, contract_id, approval_id?}.
readentity_crudRead one chat alert route.
updateentity_crudUpdate a chat alert route (name, topics, condition, recipients, providers, is_active).

chat

OperationMega-toolWhat it does
getconfig_manageRead the organization's chat settings: chat-approval switch and value ceiling, the Slack workspace connection (team, status) and which providers (slack…
slack_connectconfig_manageConnect the organization's Slack workspace with the four values from the customer-created app (bot_token xoxb-…, signing_secret, client_id, client_secret).
slack_manifestconfig_manageThe Slack app manifest (JSON and YAML) the customer's Slack admin uses to create A4's app in their own workspace: bot scopes, interactivity URL and the Sign…
testconfig_manageTest the Slack connection (auth.test with the stored bot token; checks the team matches and that the signing secret and OIDC client are present).
updateconfig_manageUpdate chat approval settings: allow_chat_approvals (default false), chat_approval_max_value (approvals above it must be decided in A4) and approval_currency…

chat_channel_target

OperationMega-toolWhat it does
createentity_crudRegister a chat channel target: provider=slack with external_channel_id, or provider=teams_webhook with webhook_url (Teams Workflows hosts only).
deleteentity_crudDelete a chat channel target (refused while an active alert route posts to it).
listentity_crudList the organization's chat channel targets (Slack channels, Teams webhooks).
readentity_crudRead one chat channel target.
updateentity_crudUpdate a chat channel target (label, channel id, webhook URL, shared-channel switch, default purposes).

chat_delivery

OperationMega-toolWhat it does
listreport_queryList chat deliveries (Slack/Teams sends) with status, skip reason and error code.

clm_import

OperationMega-toolWhat it does
dry_runsmart_actionPreview an other-CLM import job: parses the job's files and calls CLM's import_contracts(dry_run=True).
runsmart_actionQueue an other-CLM import job for real (respects the job's own dry_run flag, default True).
statussmart_actionThe current status and result of an other-CLM import job.

connectors

OperationMega-toolWhat it does
audit_chainintegration_callRead a connector's hash-chained run-audit ledger: one entry per terminal sync / promote / un-promote / reverse run, in chain order (sequence ascending).
audit_verifyintegration_callVerify the integrity of a connector's hash-chained run-audit ledger.
createintegration_callCreate an integration connector for the organization.
deleteintegration_callDelete an integration connector.
dlq_listintegration_callList a connector's per-record promotion failures (the dead-letter queue).
dlq_replayintegration_callReplay a connector's pending promotion dead-letters: re-drive the failed staged records through the normal promote path.
field_schemaintegration_callDiscover the field-mapping schema for a connector's external source: the available source fields and how they map to normalized record columns.
getintegration_callRetrieve one integration connector (full config + has_credentials bool + recent sync logs).
listintegration_callList the organization's integration connectors (summary view: name, type, status, sync direction/interval, last-sync time/status).
logsintegration_callRead the recent sync-activity log for an integration connector (records received/created/updated/failed, status, timestamps, duration).
record_previewintegration_callPreview a sample of external records for a connector WITHOUT running a sync (no records are persisted).
reverse_syncintegration_callTrigger reverse-ETL write-back for a connector: push the org's native rows OUT to the external system per the connector's field_mapping['reverse'].
staged_recordsintegration_callBrowse the staged ExternalRecord rows a connector ingested (the staging buffer before promotion to native rows).
stream_stateintegration_callList a connector's per-stream incremental cursors.
syncintegration_callTrigger an async sync for an integration connector.
sync_historyintegration_callRetrieve the sync history (audit trail) for a connector: per-run records received/created/updated/failed counts, status, timestamps, duration, and error…
testintegration_callTest the connection for an integration connector.
updateintegration_callPartially update an integration connector.

content_principal

OperationMega-toolWhat it does
confirmintegration_callConfirm proposed principal rows (email matches) so they start granting.
import_csvintegration_callImport principal mappings from CSV text with columns external_principal_id, user_email [, status manual|ignored|unmapped].
listintegration_callList a content source's principal map (DMS users and groups → A4 users) with status proposed / confirmed / manual / unmapped / ignored.
mapintegration_callMap a DMS user principal to an A4 user of this tenant (status manual), or set it unmapped or ignored.

content_source

OperationMega-toolWhat it does
bind_matterintegration_callBind a selection to a matter (walls then apply to its documents).
confirm_matterintegration_callConfirm a proposed matter (from the workspace profile) for a selection.
createintegration_callCreate a content source on an existing connector of this organization (the connector holds the service credentials).
find_contractssmart_actionAdd a content source's mirrored documents to the organization's contract repository review table and propose Contract records for each document-only row (dry…
listintegration_callList the organization's content sources (iManage, NetDocuments, Box, Egnyte, Datasite, Intralinks): provider, status, phase, counts, settings, selections and…
pauseintegration_callPause a content source (crawls and deltas stop; mirrored access is unchanged).
readintegration_callRead one content source with its selections (matter binding state included; a walled proposed matter is never shown).
reread_aclsintegration_callRe-read every item's permissions now (applies a narrowing immediately; otherwise the next ACL sweep does).
resumeintegration_callResume a paused content source (unfinished crawls continue from their cursors).
retry_itemintegration_callRetry the ingest of one failed or parked item (by SourceRecord id).
select_scopeintegration_callSelect (or disable) workspaces / rooms / saved searches to index: selections = [{external_id, kind?, name?, enabled?}].
startintegration_callStart indexing the enabled selections (crawl on the content_sync worker).
statusintegration_callStatus card of a content source: phase, counts (listed, queued, ingested, skipped by reason incl.
testintegration_callProbe the provider with the service grant (lists libraries).
unbind_matterintegration_callRemove a selection's matter binding.
updateintegration_callUpdate a content source's settings (partial) or name.

contract_writeback

OperationMega-toolWhat it does
getconfig_manageRead a CRM connector's contract write-back settings: enabled (off by default), targets (which CRM fields each contract field goes to), events, the run-as…
updateconfig_manageUpdate a contract write-back.

crm

OperationMega-toolWhat it does
launch_contractintegration_callGenerate the contract for one Salesforce or HubSpot deal (once).
writeback_previewintegration_callShow the exact payload a write-back would send for one contract, per target (opportunity, account), without sending anything.
writeback_runintegration_callPush one contract to its CRM record(s) now, as you.

crm_user_map

OperationMega-toolWhat it does
listentity_crudList the CRM user to A4 user map of a Salesforce or HubSpot connector (status: proposed, confirmed, manual, unmapped).
updateentity_crudChange the CRM user map: action 'refresh' (rebuild email-match proposals), 'unmap' (id), or - person only - 'confirm' (id) / 'manual' (id, user).

dms

OperationMega-toolWhat it does
foldersintegration_callList sub-folders of a DMS workspace/folder with the caller's delegated grant, for picking a save-back destination.
searchintegration_callSearch a DMS (iManage / NetDocuments) in place with the caller's own delegated sign-in, so results are exactly what the DMS lets that user see.
sign_in_urlintegration_callThe per-user OAuth authorize URL for a content source's DMS (search/save-back require the caller's own delegated sign-in, §4.5).

dropbox

OperationMega-toolWhat it does
authorize_urlintegration_callStart connecting Dropbox (read-only: files.metadata.read, files.content.read, account_info.read; PKCE; offline refresh).
disconnectintegration_callDisconnect Dropbox: revoke the token at Dropbox (best effort) and delete the encrypted credentials from the platform; documents already loaded stay.
list_foldersintegration_callList the sub-folders of a Dropbox path (metadata only, depth ≤ 2) so a human can choose which folders the platform may read.
select_foldersintegration_callSet the Dropbox folders the platform may read (allowed roots).
statusintegration_callDropbox (read-only) connector status: {id, status, configured, account_display, allowed_roots, last_sync_at, last_sync_status, counts:{staged, cleared, held…
syncintegration_callSync the selected Dropbox folders into documents: every file is triaged on its NAME and folder path before download (a blocked consumer report is never…
OperationMega-toolWhat it does
proposesmart_actionRun the ERP link proposer (vendor matching + PO/invoice spend linking) for one connector, or every active ERP connector of the org when connector_id is omitted.

export_dataset

OperationMega-toolWhat it does
readreport_queryList the registered export datasets (contracts, contract_parties, obligations, approvals, contract_activity, review_cells_verified when review_tables is…

export_destination

OperationMega-toolWhat it does
createentity_crudPropose a warehouse export destination (S3 Parquet or Snowflake).
deleteentity_crudDelete an export destination.
listentity_crudList this organization's warehouse export destinations (S3 Parquet, Snowflake).
readentity_crudRead one export destination.
run_nowsmart_actionTrigger an immediate warehouse run for this destination's active warehouse_datasets schedule (AC-088-2 on-demand refresh).
testsmart_actionProbe the destination: S3 Parquet uploads+deletes a tiny object; Snowflake runs a no-op SELECT 1 through the SQL API.
updateentity_crudUpdate an export destination (partial).

export_run

OperationMega-toolWhat it does
listreport_queryList warehouse export runs for this organization.

external_record

OperationMega-toolWhat it does
listentity_crudList external_records with filtering and pagination
readentity_crudGet detailed external record information
searchentity_crudSearch external_records with fuzzy matching

google_docs

OperationMega-toolWhat it does
checkinsmart_actionExport the checked-out Google Doc back to DOCX bytes (base64) for OFF to apply as a new document version.
checkoutsmart_actionCheck a document out to Google Docs for collaborative editing (I-CON-9): uploads with conversion using the caller's own Google account.

mcp_bridge

OperationMega-toolWhat it does
connect_urlintegration_callStart connecting the caller's own account to an external MCP server (OAuth 2.1 + PKCE + dynamic client registration).
disconnectintegration_callDelete the caller's own connection to an external MCP server.
list_resourcesintegration_callList one page of an external MCP server's resources through the caller's own connection (pass next_cursor as cursor for more).

mcp_bridge_trust

OperationMega-toolWhat it does
listconfig_manageList this organization's federation trusts with their MCP file-bridge switches: allow_user_connections (members may connect their own account) and…
updateconfig_manageSwitch the MCP file bridge for one of this organization's federation trusts.

mcp_export_target

OperationMega-toolWhat it does
createconfig_manageDeclare an export target (a remote tool plus a fixed argument map) on one of this organization's federation trusts.
deleteconfig_manageDelete an export target.
listconfig_manageList the export targets declared on one of this organization's federation trusts (the only remote tools a member can send a document to, with their fixed…
updateconfig_manageChange an export target's tool, argument map, size limit or active flag.

mcp_profile

OperationMega-toolWhat it does
getconfig_manageRead the organization's legal-assistant MCP profile: tool group id, the coordinates a new client is allowed, the search/fetch alias switch, the catalog and…
updateconfig_manageNarrow the legal-assistant profile's allowed coordinates and/or switch the search/fetch aliases.

slack

OperationMega-toolWhat it does
sendnotification_sendSend a Slack message from the organization's own Slack app: a DM to linked A4 users and/or a post to a registered channel target.

teams

OperationMega-toolWhat it does
sendnotification_sendSend a Microsoft Teams message: a card DM to A4 users linked through the A4 Teams app and/or a post to a registered Teams Workflows webhook target.

time_entry

OperationMega-toolWhat it does
test_pushintegration_callCheck whether a time-entry connector (Clio/Aderant/Elite 3E) can push for a given matter/timekeeper pair: reports the id-mapping errors and a connectivity…

vdr

OperationMega-toolWhat it does
import_to_review_tablesmart_actionImport already-ingested content-source documents (matched by their provider file id) into a review table — an existing one or a new one by name.

vendor_access

OperationMega-toolWhat it does
listintegration_callList every HTF-089 vendor programme gate and its current status (pending/open/closed).
recordsmart_actionRecord a vendor programme access decision (HTF-089: netdocuments, datasite, intralinks, everlaw, intapp_walls, intapp_time).

Parameter schemas and permissions

Parameter schemas and permission codenames are in the full reference — sign in — or call prism_introspect(dimension="capability_search", query="…") with your key.

In the full reference this application appears under config_manage, entity_crud, integration_call, notification_send, report_query, smart_action.