opboxDocs
Sign inBook a demo
DocsTools & ActionsAI - Assistant

Tools & Actions

The AI Assistant has access to ~427 tools across all major Opbox modules. Tools are automatically called by the AI based on user requests. Write operations follow a confirm-then-act pattern; archives are not exposed at all.

For a complete per-tool reference with parameter types and descriptions, see AI Tools Reference.

Confirm-Then-Act Pattern

Before any write, the AI calls ask_confirmation which renders an Approve / Deny dialog. The agentic loop pauses until the user responds. Replaces the legacy apply: prefix.

User: "Add a subtask to step 2 saying 'Verify directors'"
  ↓
AI calls ask_confirmation({
  message: "Add subtask 'Verify directors' to step 2 of matter MAT-0042?",
  actionDescription: "Add subtask"
})
  ↓
UI renders Approve/Deny dialog. User clicks Approve.
  ↓
AI receives 'approved' and calls add_subtask(...)
  ↓
Server writes. SSE emits tool_result. UI refreshes.

If the user denies, the AI acknowledges and stops without calling the write tool.

ask_question is the read-only sibling: the AI requests clarification, the UI renders an inline input with optional quick-pick options.

Tool Categories

User Interaction

ToolDescription
ask_confirmationAsk the user to approve a write. Renders Approve/Deny dialog.
ask_questionAsk the user a clarifying question with optional quick-pick options.

Search & Knowledge Retrieval

ToolDescription
searchSearch across all entities (forms, matters, tables, documents).
knowledge_searchHybrid semantic + full-text search across documents, comments, notes, transcripts, compliance exceptions.
get_document_contentRetrieve full document content by ID after a knowledge_search match.
get_document_extractionsGet AI-extracted structured data (entities, key-value pairs) from a document.

Matters

ToolDescription
list_mattersList matters (filters: status, priority, board, assignee).
search_mattersFull-text search across matter titles, descriptions, metadata.
get_matter / get_matter_by_numberGet matter details with steps and properties.
create_matterCreate a matter from a board.
update_matterUpdate title, priority, status, due date, tags.
complete_step / reject_step / skip_step / reopen_stepStep lifecycle. Confirmation required.
assign_step / update_step_configStep ownership and config.
get_step_form_data / fill_step_formRead or fill FORM step data.
preview_step_documentPreview a DOCUMENT step with current matter data.
scaffold_form_from_packAuto-generate a form from a template pack definition.
add_commentAdd a comment to a matter step.
update_matter_metadataUpdate board property values.
add_line_item / list_line_items / update_line_item / delete_line_itemPricing and billing line items.
list_subtasks / add_subtask / complete_subtask / update_subtaskSubtask CRUD.
get_matter_documentsList documents attached to a matter.

The AI is aware of all step types when working with matters, including INSTRUCTION steps. In agent mode, INSTRUCTION steps are automatically dispatched to the AI for completion. In colleague mode, the AI can read the instructions and checklist and help the assigned team member work through them.

Boards

ToolDescription
list_boards / get_boardBoards (matter templates).
create_boardCreate a new board (PROCESS, PIPELINE, or KANBAN).
list_board_propertiesMetadata field definitions for a board.
list_labelsOrg-wide matter label suggestions.
assign_label / remove_labelTag/untag a matter. Idempotent.
link_document_to_matterAttach a KB document to a matter (idempotent upsert).

Forms & Submissions

ToolDescription
list_forms / get_formForms with field definitions.
create_formCreate a form with fields.
update_formPartial update of title/description/schema/status. Auto-versioned.
archive_formSet status to ARCHIVED. Idempotent. Required before delete.
delete_formDelete an archived form. ADMIN/OWNER only; form must be ARCHIVED first.
describe_form_schemaReturns canonical schema shape + field type enum. No DB. Call before create/update.
add_form_fieldAppend a field to a section. Auto-versioned.
remove_form_fieldRemove a field by ID. Idempotent. Auto-versioned.
list_submissions / get_submissionSubmissions with full data.
approve_submission / reject_submissionDecisioning. Confirmation required.

Tables & Data

ToolDescription
list_tables / get_table_details / update_table / delete_tableTable CRUD (mutations require ADMIN/OWNER).
create_tableCreate a table with optional columns.
get_table_rows / summarize_tableQuery and aggregate.
create_row / update_row / patch_row / delete_rowRow CRUD.
bulk_create_rows / bulk_update_rowsBatch up to 50 rows.
create_column / update_column / delete_columnColumn CRUD (ADMIN/OWNER).

Documents & Workflows

ToolDescription
list_documents / get_documentKB documents.
create_documentCreate a new KB page or folder, optionally with Tiptap content.
update_documentReplace structured JSON content. Confirmation required.
patch_documentPartial metadata update (title, status, parent).
list_workflows / execute_workflowAutomation workflows. Execution requires confirmation.

Notifications & Members

ToolDescription
get_notifications / mark_notifications_readNotification inbox.
get_dashboard_statsWorkspace dashboard summary.
list_membersWorkspace members.

Voice Transcripts (Private Per-User)

ToolDescription
list_my_transcriptsList the current user's voice transcripts.
get_my_transcriptGet full text of a transcript owned by the current user.

API Access (Read-Only)

ToolDescription
list_api_endpointsDiscover available API endpoints.
call_api_endpointCall any Opbox GET endpoint. POST/PUT/DELETE blocked. 14 sensitive path prefixes blocked.

Dashboards

ToolDescription
list_dashboard_widgetsList widgets on a dashboard.
add_dashboard_widget / update_dashboard_widget / remove_dashboard_widgetWidget CRUD.
bulk_update_dashboardBatch widget + dashboard settings update.
set_dashboard_configReplace the entire dashboard config.
get_dashboard_statsStats summary.

SQL

ToolDescription
execute_sqlRead-only, sandboxed, workspace-scoped SQL. ADMIN required.
save_sql_query / list_saved_queries / run_saved_queryPersonal SQL library.

File Registry

ToolDescription
list_files_for_entity / list_files_for_matter / list_files_for_rowFile enumeration by entity.
get_file_recordSingle FileRecord by ID.
link_file_to_entityLink an existing file to an entity.

Identity & Access

ToolDescription
list_access_grants / list_workspace_grantsCross-workspace grants.
get_document_presenceCheck if a document exists across workspaces (presence only, no content).
resolve_row_identityResolve a table row to a global identity.
get_file_version_historyVersion chain for a file.
get_identity_review_queue / resolve_identity_reviewIdentity match review (low-confidence matches).
get_open_escalations / resolve_escalationOpen escalations.
check_file_sensitivitySensitivity classification.
get_registry_coverageFile-registry coverage stats.
request_file_accessCross-workspace file-access request.
get_extraction_qualityQuality metrics for document extractions.

CRM Entity Profiles

The AI can look up and work with CRM entity profiles across all system table types. CRM Deals and CRM Partners have dedicated profile views (accessed via the entity hover peek or by navigating to the record) that surface structured summaries, linked matters, files, and activity. The AI can read and update these records using the standard table row tools above.

Ownership & Corporate Structure

ToolDescription
get_ownership_chainTrace from entity to ultimate parent.
get_corporate_family_treeFull corporate group tree.
detect_circular_ownershipFind circular references.
get_ubos / check_ubo_mismatchesUltimate beneficial owners and declared-vs-computed comparison.

Registers & Compliance

ToolDescription
get_register / get_register_historyStatutory registers (shareholders, directors, etc.) with audit trail.
get_stakeholder_exposure / find_shared_stakeholdersCross-entity stakeholder analysis.
detect_conflicts_of_interestConflict detection across stakeholder overlaps.
get_compliance_calendarUpcoming filing deadlines.
get_kyc_expiry_reportKYC expiry across entities.
get_entity_compliance_summaryRAG-rated compliance health for an entity.

Entity File Intelligence

ToolDescription
get_entity_files_deepDeep file aggregation: direct + matter + stakeholder for a CSP entity.
get_individual_files_deepDeep file aggregation for a CSP individual.
get_stakeholder_file_timelineChronological cross-entity timeline.
link_entity_to_matter / link_individual_to_matterManually link CSP entities/individuals to matters.
sync_matter_entity_linksSync entity links from matter metadata + linked records.
backfill_matter_filesReplay propagation for an existing matter.
bridge_kyc_documentsBridge KYC docs to the file registry for unified search.

Self-Knowledge

ToolDescription
search_system_docsSearch Opbox's product docs by keyword.
embed_system_docsIndex product documentation for semantic search.

REST equivalents at GET /api/docs/search and POST /api/docs/embed. See RAG & Search for the embedding pipeline.

Agent Queue (Doc-Gen + Autonomous Worker)

ToolDescription
agent_queue_listList pending tasks (L0).
agent_queue_claimAtomically claim a task (L1, 30-min lease).
agent_queue_get_briefingAdaptive briefing for the claimed task (L0).
agent_queue_releaseRelease a claim.
agent_queue_extendExtend the lease window.

See Agent Worker.

Form Awareness in Matters

The AI sees which specific forms back FORM and APPROVAL steps:

  • FORM steps - assigned form title (e.g. "KYC Questionnaire") for both pending and completed steps. Multi-form steps with formIds show all available titles. Completed FORM steps include collected field data.
  • APPROVAL steps - the AI sees which FORM step an approval reviews (e.g. "reviews: Collect KYC - form: KYC Questionnaire"), derived from reviewFormStepIndex in the approval step config.

This means the AI can answer "what's the KYC questionnaire status on this matter?" without calling any tools - the data is already in context.

Archive: AI-Excluded by Design

Archive operations (archive_matter, archive_table, archive_workflow, ...) are not in the AI tool registry. They are human-only actions accessible only through the Opbox UI.

Reasoning: archives are reversible but heavyweight. They tombstone an entity, hide it from default queries, and require a deliberate UI action to restore. Putting them behind the AI's confirm-then-act flow gave too many false positives and not enough deliberation. Removed entirely.

Audit Trail

Every tool call is logged in the AuditLog (and SecurityEvent for risk-relevant categories). Each row carries:

  • userId (or the agent member's userId)
  • workspaceId
  • action (tool name)
  • resource / resourceId
  • ipAddress + userAgent
  • metadata JSON (input + sanitised result digest)
  • createdAt

The audit log is the system of record for "who did what, when, on whose behalf."

See Also

We use cookies

Strictly necessary cookies keep you signed in and protect requests. We also use optional cookies for preferences and (when enabled) analytics. Learn more.