Tenant API & MCP Reference

Use the Tenant Data API to retrieve contacts, conversations, and communication activity. All requests require a tenant API key generated from Tenant Settings.

OpenAPI specification

Authentication

Send X-API-Key: <your-key> or Authorization: ApiKey <your-key> with requests. Store keys securely and rotate them regularly.

Base URL

https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID

Endpoints and examples

GET /contacts

List contacts

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/contacts"

GET /contact-custom-fields

Get custom field definitions

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/contact-custom-fields"

GET /chats

List chat sessions

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/chats"

GET /chat-topics

Retrieve chat topics

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/chat-topics"

GET /chat-categories

Retrieve chat categories

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/chat-categories"

GET /sent-emails

List sent emails

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/sent-emails"

GET /sent-sms

List sent SMS messages

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/sent-sms"

GET /calls

List call orchestration tasks and related metadata

curl -X GET -H "X-API-Key: YOUR_API_KEY" "https://omni.karmaflow.ai/api/tenant/YOUR_TENANT_ID/calls"

MCP server

Connect an MCP client using https://omni.karmaflow.ai/mcp/YOUR_TENANT_ID and your tenant API key. Replace YOUR_TENANT_ID with your own tenant ID. The catalog documents the public platform capabilities; availability depends on your permissions and integrations.

MCP tool catalog

Contacts

ToolDescription
list_contactsSearch and list contacts.
get_contactRetrieve a single contact by their ID.
create_contactCreate a new contact record.
get_contact_consentA contact's consent on each channel they can be reached on, as the contact page's consent card shows it: email, texts and calls for every contact, and a messaging app (Facebook Messenger) only for a contact who has written there or already opted out there.
update_contactUpdate fields on an existing contact.

Records

ToolDescription
get_record_timelineThe timeline of one contact, lead, company or deal, newest first, as its record page shows it: calls, chats, emails, texts, meetings, form submissions, notes, tasks and field changes, each with when it happened, who did it and a short summary.
list_notesThe notes on one contact, lead, company or deal, newest first, with their text, who wrote them and when.
get_deal_stage_historyThe stages one deal has been through, oldest first: when it entered and left each, and how many days it spent there, counted in calendar days in the workspace's time zone, the way the deal page counts days in stage.
list_listsThe contact lists, as the CRM menu's Lists page shows them: each list's name, how many members it has, how many of them have an email address that bounced, and how it was built.
list_list_membersThe members of one contact list, as the list's page shows them: each contact's name, email, phone, company, lifecycle stage and tags, with the list's size and how many members have an email address that bounced.
list_custom_fieldsThe custom fields the workspace has defined, as the CRM menu's Custom Fields page shows them: each field's name, its key on the record, its type and choices, whether it is required, and whether people or AI research fill it.
list_tagsEvery tag in use on one kind of record (contacts, leads, companies or deals), in alphabetical order.

Conversations & activity

ToolDescription
list_callsList outbound call records with optional filters.
list_chatsList chat sessions.
list_sent_emailsList the emails Karmaflow sent: agents, campaigns, reminders, people writing from the app.
list_meetingsList calendar meetings from the workspace's Calendar: those with one contact, one person's, or all in a window.
get_meeting_researchRead the research made for one meeting booked on a booking page: where it stands (waiting, under way, ready, or why there is none, in a sentence), the note written for the meeting's host, the sentence each outside statement rests on with its page, what the check removed and why, what was searched and read, and how it counted (included, paid, or not counted again).
get_meeting_research_settingsRead this workspace's meeting research settings: whether research on a booking is on, the depth (light, medium or high) and the depth actually in force, the notice choice kept for the host (no notice is sent yet: a research is read on its meeting), whether the web is searched, the reuse window in days and Karmaflow's default for it, and whether research may run here at all, with the reason when it may not (for example a healthcare workspace, where it is never available).
update_meeting_research_settingsChange this workspace's meeting research settings.
list_booking_pagesList the workspace's booking pages, as the Booking pages screen lists them: each page's title, its host (the person it books, or a team or on-duty page), whether it is live or a draft, its public address once live, how people meet, its appointment type and whether it follows the type's booking rules, and who else sees the meetings it books.
list_appointment_typesList the workspace's appointment types (a kind of appointment, such as a tire swap or detailing): each one's length, its limits (maxAtOnce: how many at the same time; maxPerDay: at most a day), its booking rules (minLeadHours notice, bufferMinutes break after, maxDaysAhead how far ahead, windows when it may be booked inside the host's own hours, dateOverrides closed or open dates; null means the booking page's or the workspace's), and how many calendar alerts watch it.
manage_appointment_typeAdd an appointment type, or change one (give eventTypeId).
list_calendar_alertsList the calendar alerts: each says which appointment type, the number of bookings a day it watches for (it fires on every booking from that number), who is told (the meeting's host, the Calendar's managers, people added), and the task it makes on the contact.
manage_calendar_alertAdd, change or remove a calendar alert.
set_agents_may_bookTurn "Agents may book my Karmaflow calendar" on or off: for you, or (with the right to manage the Calendar's settings) for someone else by userId.
get_agent_meeting_sharingWho else sees the meetings one agent books (people and roles, as ids): they see each meeting it books and are told when it is booked, moved or cancelled; they cannot change it.
set_agent_meeting_sharingSet who else sees the meetings one agent books: userIds (members of the workspace) and roleIds (its roles); both empty = only the people on each meeting.
get_calendar_routingWhere each new meeting with a contact also goes for the team: mode off (default), task (a CRM task on the contact) or ticket (an internal helpdesk ticket in a support team), with the types it applies to (empty = every type), the team, the priority, and the task's assignee and due time.
set_calendar_routingChange where each new meeting also goes: mode 'off', 'task' or 'ticket'.
list_sent_smsList outgoing SMS records.
list_call_eventsList raw voice call event records.
list_sms_sessionsList text conversation sessions: SMS threads and the conversations of channels stored on the same records (Google Local Services messages and Facebook Messenger).
list_sms_messagesList individual messages within text sessions (SMS and the channels stored on the same records: Google Local Services messages and Facebook Messenger).
list_voice_campaignsList voice agents (voice campaigns), including agents never pushed live.

Orchestrations

ToolDescription
fire_orchestration_triggerFire a named orchestration trigger for a specific contact, optionally passing additional data into the workflow run.
list_orchestrationsList orchestrations with optional search and pagination.
get_orchestrationRetrieve a single orchestration by ID, including its full step graph.
create_orchestrationCreate a new orchestration workflow.
update_orchestrationUpdate an existing orchestration.
delete_orchestrationDelete an orchestration by ID.
toggle_orchestration_enabledEnable or disable (pause) an orchestration.
get_trigger_catalogGet the full catalog of available trigger keys, organized by category (email, sms, call, chat, form, lead, conversation, agent, duty, document, crm, webhook, time and the connector categories the workspace has).
get_reference_dataGet all available reference entities for orchestration step configuration.
validate_orchestrationValidate an orchestration step array without saving.

Agents

ToolDescription
create_task_agentCreate a new task agent.
update_task_agentUpdate an existing task agent.
get_task_agentRetrieve a task agent by ID with full configuration.
list_agent_blueprintsThe jobs a new agent can be made for in this workspace (answer the phone, answer website chat, reply to texts, answer help desk email, call people back, follow up by email or text, do a job when something happens, draft documents, operate a web app), the same cards as the New Agent start page (rolling out workspace by workspace).
check_agentCheck one agent's saved configuration (its draft when there is one) for what will not work as its settings say: placeholders the channel does not fill or that use static-content syntax, a gap left by a name in an exact script, transfer numbers without a transfer tool, a voice style too long to apply, an empty voicemail script, testing mode, memories with no memory type, a chat agent no website may embed, an SMS agent with no number, instructions that repeat what the platform already says, a number in the text that may be an example, no knowledge, no goals, and changes not yet live.
get_agent_promotion_statusCheck whether an agent is live.
promote_agentPromote an agent from sandbox to PRODUCTION, making it live.
create_chat_agentCreate a new chat agent.
update_chat_agentUpdate an existing chat agent.
get_chat_agentRetrieve a chat agent by ID with full configuration.
create_sms_agentCreate a new SMS agent.
update_sms_agentUpdate an existing SMS agent.
get_sms_agentRetrieve an SMS agent by ID with full configuration.
create_voice_agentCreate a new voice agent (voice campaign).
update_voice_agentUpdate an existing voice agent (voice campaign).
get_voice_agentRetrieve a voice agent (voice campaign) by ID with full configuration.
list_hold_musicThe tenant's hold music: the library (catalog tracks it opted into and its own uploads, each with an entry id, volume and active/paused status), the default every voice agent uses unless it picks its own, and the Karmaflow catalog it can opt into.
list_gemini_voicesGoogle's Gemini voice catalog, searchable: the 30 named voices (each speaks every language) and thousands more by language, regional accent, persona and gender (e.g.
list_custom_voicesThe workspace's custom voices (cloned from a consenting speaker, or designed from a description) and whether the business is verified for them.
create_email_strategyCreate a new email strategy (email agent).
update_email_strategyUpdate an existing email strategy.
get_email_strategyRetrieve an email strategy by ID with full configuration.

Prompt components & situations

ToolDescription
get_prompt_layersWhat the platform already tells an agent on a channel, so instructions you write add only what this business needs.
list_prompt_componentsList the workspace's prompt components and situation sections, each with its kind, path, mode, trigger words (when), related paths, agent types, category, current and live version, and whether it has unpushed changes; also lists the categories.
get_prompt_componentRead one prompt component or situation section: its fields, latest text, live text, lint notes, and the voice, chat, SMS and task agents (draft and live copies) that select it.
create_prompt_componentCreate a prompt component or a situation section (kind "section"), saved as a draft version 1.
update_prompt_componentUpdate a prompt component or situation section.
push_prompt_component_livePush prompt components or situation sections live: their latest version becomes the one agents read, on the next call or chat of every agent that selects them.

Forms

ToolDescription
list_form_endpointsList web form endpoints.
get_form_endpointRetrieve a single web form endpoint by ID, including field mappings and configuration (API key hash omitted).
create_form_endpointCreate a new web form endpoint.
update_form_endpointUpdate a web form endpoint.
list_agent_formsList agent form templates (structured forms an AI agent can fill or present).
get_agent_formRetrieve a single agent form template by ID, including its full field definitions.
create_agent_formCreate a new agent form template.
update_agent_formUpdate an agent form template.

Logs & audit

ToolDescription
list_chat_logsList individual chat messages.
list_task_agent_logsList task agent execution logs.
list_orchestration_logsList orchestration workflow execution logs.
list_session_audit_logsList the post-session review records the platform writes after a conversation: outcome classification (memory_written, recovered, nurtured, audit_only), decision logic path, schema suggestions, technical failures, and competency breaches.
list_audit_eventsThe workspace audit trail, newest first, as Settings → Access & security → Audit Trail shows it: who did what to which record or setting, when, how they were signed in (a person, an API key, the system), the fields that changed, and sensitive reads.
get_audit_eventOne audit event in full: who, how they were signed in, the record, and the values before and after.

Governance

ToolDescription
list_security_findingsThe workspace's security findings, as Settings → Access & security → Security Findings shows them: each finding's severity, status, what was observed against the usual level, when it was first and last seen, and whether someone marked it as seen; plus the counts (open by severity, new in the last day, last scan).
acknowledge_security_findingMark a security finding as seen, or unmark it, as the page's Mark as seen does.
get_spend_and_usageWhat this workspace spends and on what, as the Billing page shows it: the spend limits in force for the current period and where each stands (spent, remaining, percent, whether it stopped anything), and usage per agent for a billing period, with the usage no agent can be tied to.
get_ai_autonomyThis workspace's AI autonomy settings, as Settings → Agents & AI → AI autonomy shows them: for each kind of action whether the AI may do it on its own, must ask first, or never does it, with its track record; the helpdesk policy's modes; whether messages to contacts may send without asking; quiet hours and the touch cap; the floors no setting changes; and `aiLabel`, the AI label's re-start interval: on SMS, after how many hours without a message from the AI its next message says again that it is an AI (24, 168 or 720 hours; 168 by default; no "never", the label is a floor), with `on` saying whether the label is on for this workspace yet (off: nothing else is listed), `covers` (which messages carry the label) and the channels whose timing is fixed.

Supervision

ToolDescription
list_campaign_enrollmentsAn autonomous campaign's recipients, as its Recipients tab shows them, most recently changed first: each contact's state in the campaign (queued, waiting, in conversation, paused, completed, stopped), the outcome so far, the last decision the campaign made with its reason, any channel the campaign cannot use for them and why, and whether its last decision cycle failed.
get_campaign_enrollmentOne contact's place in an autonomous campaign: every decision the campaign made about them, each with its action, channel, reason, evidence, confidence, guardrails that changed it, what was sent and who was told; the outcome; why it paused or stopped; and the last error when a decision cycle failed.
get_campaign_enrollment_summaryAn autonomous campaign's totals, as the top of its Recipients tab shows them: how many contacts are in each state and each outcome, what the campaign has spent (model calls, messages, decisions), whether it is switched on, and its policy.
pause_campaign_enrollmentPause one contact in an autonomous campaign, as Pause on the Recipients tab does: the campaign stops contacting them until someone resumes it.
resume_campaign_enrollmentResume one paused contact in an autonomous campaign, as Resume on the Recipients tab does: it goes back to waiting and the campaign decides its next step now.
take_over_campaign_enrollmentTake one contact over from an autonomous campaign, as Take over on the Recipients tab does: the campaign stops writing to them and marks them handed off to a person.
list_handled_actionsWhat the AI already did on its own or after an approval, newest first, as the AI Inbox's Handled for you shows it: the action, the record it changed, when it ran and on what basis, whether it was undone or marked wrong and by whom, the lessons people taught, and for each whether Undo and Mark as wrong are available to this caller (and, when not, which permission is missing).
undo_handled_actionUndo one action the AI took, as Undo in the AI Inbox does: it puts back what the action changed, if the record has not been changed since, and counts it against the AI's earned autonomy.
mark_handled_action_wrongMark one action the AI took as wrong, as Mark as wrong in the AI Inbox does: it is left in place and counted against the AI's earned autonomy, with an optional note.

Analytics

ToolDescription
get_demand_languageRead-only.
get_journey_insightsRead-only.
get_conversation_learningRead the conversation learning workspace.
get_conversation_insightsRead-only.
list_analytics_slicesRead the saved analytics slices this caller may use: their own, plus shared slices with analytics:read.
manage_analytics_sliceCreate or manage a signed-in person’s saved analytics slice through the same ownership and permission rules as the app.
list_dashboardsRead-only.
run_dashboardRead-only.
get_web_analytics_summaryRead-only.
get_ga4_reportRead-only.
ask_data_analystAsk the analytics data analyst a natural-language question about your organization's email/communication activity.

Documents & e-signature

ToolDescription
document_templatesList document agents available to this channel and source agent, with their required inputs and email delivery policy.
document_createRequest a document from a permitted document agent.
document_statusRead a document request’s preparation, review, recipient delivery and signing progress.
document_find_requestsFind the latest document requests for the current conversation’s identified customer.
document_sendSend a prepared document only when its frozen tenant/template policy authorizes agent sending.
document_remindQueue a reminder for active recipients of an accessible document request, only under its agent-send policy.

CRM

ToolDescription
draft_customer_invoiceCreate a CRM invoice draft for a visible billing contact with exact catalog SKUs or barcodes and explicitly agreed service prices.
request_invoice_deliveryPrepare and deliver one CRM customer invoice to its saved billing contact under the workspace send policy.
create_dealCreate a new deal in the tenant CRM.
update_dealUpdate fields on an existing deal.
move_deal_stageMove a deal to a new stage.
list_dealsSearch and list deals.
get_dealFetch one deal with its hydrated contact, company, notes, and activities.
get_pipeline_summaryReturn per-stage rollups (count, total value, average probability) for the tenant pipeline plus the list of defined pipelines.
create_taskCreate a CRM task (call, email, meeting, follow-up, or generic todo).
complete_taskMark a task as completed.
list_tasksList tasks.
add_noteAppend a note to a CRM record.
update_lifecycle_stageMove a contact through the funnel (subscriber -> lead -> mql -> sql -> opportunity -> customer -> evangelist).
search_contacts_semanticFind CRM records by meaning or by name.
get_crm_contextFetch the CRM's relationship intelligence for a contact: buying-intent and pain-point signals, engagement vitals, relationship temperature, recommended next move, things to avoid, and optionally their most recent communications across email, calls, SMS, and chat (inbound and outbound).
get_crm_dossierRender one CRM record's relationship summary now, from live records: for a company its people (with their deal involvement) and deals; for a deal its stage, value, account, primary contact, buying committee (influence edges, weighted), what they're telling us (extracted signals, marked machine-read) and recent attributed threads; for a contact their company and influence position.

Helpdesk

ToolDescription
create_ticketOpen a helpdesk support ticket for a contact.
update_ticketUpdate fields on an existing helpdesk ticket (priority, type, tags, subject, or status).
add_ticket_replyAppend a reply to a helpdesk ticket.
get_ticketFetch a helpdesk ticket with its conversation thread (replies, internal notes, and lifecycle events).
list_ticketsList helpdesk tickets, filtered by status, priority, type, requester contact, company, tag, assignee, team, and/or created/updated time windows.
search_ticketsFull-text search across ticket subject, description, and thread (public replies + internal notes), case-insensitive.
assign_ticketRoute a ticket to a support team and/or a specific user.
add_internal_noteAdd a staff-only internal note to a ticket; the customer does not see it.
escalate_ticketEscalate a ticket to a human: records your reason as an internal note, optionally routes to a team, and sets status to escalated.
create_task_for_ticketOpen a follow-up task linked to a ticket for a human to action.
merge_ticketsMerge a duplicate ticket into a canonical one.
link_ticketsRelate two tickets without merging (e.g.
get_sla_statusRead a ticket's live SLA state: due timestamps, breach flags, and minutes remaining (negative = overdue) for first-response and resolution.
list_support_teamsList the workspace's support teams (id, name, default-intake channels/types).
get_ai_policyThe workspace helpdesk AI policy, which sets what each AI action may do before it is attempted: which action types are allowed (execute immediately), restricted (queued for human approval), or forbidden; the confidence threshold; sensitive topics; the autonomy master-switch; and whenOwned — what an AI agent's customer-facing actions do on a ticket a person owns (act and tell the owner, wait a grace period, wait for the owner, or stay quiet while the owner handles it).
list_csatList customer satisfaction (CSAT) responses, newest first, optionally filtered by ticket.
list_queued_actionsList the AI actions held for a person's decision, across every approval queue (plane) this connection can open: helpdesk (ticket actions the AI policy marks Needs approval, and drafts held for a ticket's owner), crm (CRM automations, autonomous-campaign sends and identity links) and brain (Tenant Brain reactions).
approve_queued_actionApprove a held AI action on any plane (helpdesk, crm, brain) and EXECUTE it now, exactly as queued.
reject_queued_actionDecline a held AI action on any plane (helpdesk, crm, brain) so it does not execute.
answer_campaign_questionAnswer a question an autonomous campaign asked a colleague (the held-actions list shows them under the campaign_questions plane, with the question and any suggested options), or take the contact over, or stop the campaign for that one contact, as on My Day.
list_ticket_attachmentsList every attachment on a ticket (screenshots, logs) — metadata only (filename, type, size, which message, who uploaded it).
attach_to_ticketAttach a file to a ticket by URL.

Knowledge base

ToolDescription
draft_articleCreate a DRAFT knowledge-base article.
update_articleUpdate fields on an existing article by id (title, body, audience, category, tags, slug).
get_articleFetch one article in full (any status) by id or slug — including the Markdown body.
list_articlesList articles (titles/metadata, no body) filtered by status (draft/published/archived/all), audience, category, tag, or full-text search.
publish_articlePublish an article LIVE: public articles appear in the customer portal and both audiences ground AI agents (cited via retrieval).
archive_articleRetire an article: removes it from the customer portal and the grounding vector store and sets status to archived.
list_categoriesList knowledge-base categories (id, name, slug, parent, order).
create_categoryCreate a knowledge-base category.
list_knowledge_filesList the internal knowledge files (the second KB tab): uploaded reference documents that ground AI agents but are never published as portal articles.

Tenant Brain

ToolDescription
list_knowledgeBrowse the tenant knowledge bundle (Open Knowledge Format), one level at a time.
get_knowledgeRead entries from the tenant knowledge bundle by path — the same read_knowledge every agent channel has, in ONE format per entry: header (path · type · title — description · also: tags, aliases), `trust` (verified by a human or a machine, freshness fresh/stale with stale_after, status, not-yet-effective), `version` (snapshot stamp + content hash), `content` (the agent form: the body without frontmatter or footnotes), `outline` (every heading, with `served` marks), `guardrails`, `otherSections`, and `links` (`first` = read first, `also`) with each link's state live|broken.
search_knowledgeAsk the tenant brain's ADVISOR for what you cannot name: `need` — what you need to know, in your words — is matched against every live entry's handles (title, description, tags, aliases, headings) by a word lane and a semantic lane, and ONE OpenAI Decisions call chooses the entry (and, for a long entry, the section) whose content answers it, with 'none' always offered.
propose_knowledgePropose new or updated knowledge for the tenant brain.
run_attested_computationRun a SANCTIONED business computation from the tenant knowledge bundle (a `type: Attested Computation` concept, usually under computations/) and return the value WITH its attestation verdict — proof the number was produced the blessed way by an approved actor (a pinned query, an approved platform process, or a NAMED tenant AI agent), not improvised.
list_knowledge_sectionsList the tenant's governed SECTION registry — the directories agents may file knowledge under (identity/, offerings/, policies/, computations/, …), each with its label, one-line description, status (live | retired | draft) and whether it is a seeded canonical section.
manage_knowledge_sectionAdd a section to the tenant's governed registry, or update/retire an existing one.
list_knowledge_typesList the tenant's governed TYPE registry — the vocabulary a proposed concept's `type` is checked against.
propose_knowledge_typePropose a new entry for the tenant's TYPE registry, so concepts can be authored under it without being held `pending-type`.
publish_selected_proposalsPublish SPECIFIC pending knowledge proposals by id, in one batch — the bulk counterpart to approving one proposal.
move_conceptRe-file ONE concept to a different path, keeping its history, its inbound links and its identity.
repair_dangling_linksRepair citing links left dangling by a concept MOVE.
list_relationship_kindsList the tenant's governed RELATIONSHIP-KIND registry — how concepts may relate to each other, and the `##` section heading that expresses each one in a body.
propose_relationship_kindPropose a new relationship kind, so a `##` heading you want to write starts stamping its links with a meaning.
list_knowledge_tagsList the tenant's governed TAG vocabulary.
propose_knowledge_tagPropose a tag for the governed vocabulary, so its variants fold onto one key from now on.
list_knowledge_aspectsList the tenant's governed ASPECT registry — the typed metadata fields a concept may carry (effective_date, review_after, stale_after, jurisdiction, owner, sensitivity, aliases, and any the tenant has added), each with its value type.
propose_aspect_definitionPropose a new typed aspect, so concepts can carry a field the registry does not yet define.
list_taxonomy_opsList recent taxonomy operations — concept moves, section renames and merges — newest first, each with what it did, when, who ran it, and whether it has been reverted.
revert_taxonomy_opUndo one taxonomy operation by its id, as listed in the taxonomy-operation ledger — moving every concept it moved back, and restoring the link rewrites it made.
list_attested_computation_runsList recent executions of sanctioned computations, newest first — each with the concept path and version that ran, the runtime, the ACTOR of record and its version, the governance band, whether it attests, which checker verified it, and the referenced ledger entry.
get_attested_computation_runRead ONE attested-computation run in full — status, bound parameters, computed value, the executor receipt, and the attester verdict with its per-fact checks — plus an INDEPENDENT RE-VERIFICATION of the evidence chain performed now: the referenced ledger entry is resolved and its stored governance facts (actor, runtime, band, config/input hashes, concept path+version) are compared against the receipt.
export_knowledge_bundleExport the tenant knowledge bundle in Open Knowledge Format: an array of { path, content } Markdown files (concepts at their published revision, plus generated index.md files and log.md).
import_knowledge_bundleImport Open Knowledge Format files into the tenant brain as DRAFTS for human review (not auto-published).
list_pending_proposalsList knowledge proposals awaiting human review — the queue that brain.aging_proposal fires about (previously invisible to MCP).
approve_proposalApprove a pending proposal and PUBLISH it to the live tenant brain (the reviewer action — runs the full publish side-effect chain: trust ledger, blast radius, edge resolution, events).
reject_proposalReject a pending proposal.
archive_conceptRetire a LIVE or draft concept: sets status archived, removes it from the retrieval and brain vector stores, and flips incoming links back to dangling.
rollback_conceptRoll a concept back to a prior stored revision, appending it as a new head revision (non-destructive; the history is preserved).

Native Jobs

ToolDescription
jobs_catalogRead native services and their effective booking modes, locations, prices, required checks and durations.
jobs_findRead native jobs visible to this caller.
jobs_getRead a native job and its next action, commitments, requirements and version.
jobs_availabilityFind feasible native job work plans.
jobs_bookUse kind=request with description and optional preferredTime and selected serviceIds when any selected offering has bookingMode=intake or when details or operating settings are incomplete.
jobs_updateAct on a job through its guarded command layer.

Workiz (Field Service)

ToolDescription
workiz_get_availabilityList bookable time slots between two dates: Workiz's own availability when the business has switched it on, otherwise computed from the Workiz schedule mirror (jobs, leads, tasks, events, time off) and the mirrored business-hours settings.
workiz_book_jobBook an appointment by creating a scheduled Workiz job.
workiz_find_jobsSearch Workiz jobs.
workiz_get_jobGet one Workiz job by its UUID, including webhook-enriched detail (line items, tags, team) when available.
workiz_reschedule_jobMove an existing Workiz job to a new time.
workiz_update_job_statusSet a Workiz job status (e.g.
workiz_assign_techAssign a team member to a Workiz job or lead by display name (Workiz assigns by name, not id).
workiz_add_paymentRecord a payment against a Workiz job.
workiz_create_leadCreate a Workiz lead (an unqualified/unscheduled inquiry).
workiz_find_leadsSearch Workiz leads.
workiz_convert_leadConvert a qualified Workiz lead into a job.
workiz_mark_lead_lostMark a Workiz lead as lost (reversible on the Workiz side).
workiz_list_teamList the Workiz team roster (names, roles, skills, service areas) and upcoming time off.

Products & inventory

ToolDescription
inventory_search_productsSearch the business's product catalog by name, SKU, barcode, brand, category or tag.
inventory_get_productGet one product in full: description, category, every variant with its price, and stock per location.
inventory_check_stockHow many of one variant can be sold now, in total and per location, and whether a wanted quantity can be fulfilled.
inventory_list_low_stockItems at or below their reorder point, or out of stock, with the figures.
inventory_create_productAdd a product to the catalog as one sellable variant.
inventory_update_productChange a product's name, description, category, tags, brand, status, price, cost, barcode or reorder settings.
inventory_adjust_stockChange the stock of one variant at one location, as a ledger movement with a reason.
inventory_transfer_stockMove units of one variant from one location to another.
inventory_create_sales_orderRecord a sale: an order for one or more products for a customer.
inventory_get_orderLook up a sales order by its number or id, or list a customer's recent orders.
inventory_update_order_statusMove a sales order on: "confirmed" (paid), "fulfilled" (ships everything not yet shipped in one shipment; part shipments and tracking numbers are recorded as shipments), or "cancelled" (held stock is released; an order with shipped units needs restock true, which records a return for them).
inventory_create_purchase_orderDraft a purchase order to a supplier for one or more variants, at a receiving location.
inventory_receive_purchase_orderReceive a delivery against a purchase order: the received units go into stock through the ledger at the line's landed cost and `incoming` falls.
inventory_reorder_suggestionsThe reorder plan: every item at or below its reorder point, out, or running out within its lead time plus safety days, with a suggested quantity and why (sales pace — scaled by last year's season when the business forecasts seasonally — days of cover, incoming, units owed to back-orders, rounding to the supplier's pack and minimum).
inventory_get_priceWhat one product costs THIS customer at a quantity: their price list (assigned to the contact, their company or their tags) or the catalog price, with the volume tiers ("from 10, it is 7 each").
inventory_create_shipmentShip units of a sales order: the units leave stock at the shipping location and the order's fulfilment status follows (partial until everything has shipped).
inventory_record_returnRecord goods coming back from a customer, line by line: "restock" puts the units back on the shelf at the cost they left at; "write_off" records them as unsellable (no stock returns).
inventory_lookup_serialFind a unit by its serial number: which product it is, whether it is in stock, sold or written off, and the order and date it was sold on — the warranty question.
inventory_list_expiring_lotsLots with stock that expire within N days (default: the workspace's alert window), soonest first, with what is left.
inventory_list_backordersOpen orders waiting on stock, oldest first, with what each is waiting for.
inventory_build_assemblyBuild finished units of an assembly from its bill of materials: the parts leave stock and the finished units arrive at the parts' cost.
inventory_edit_orderChange an open order's lines: a new quantity for an existing line (0 removes what has not shipped; shipped units never un-ship), or extra lines.
inventory_reportA computed inventory report with its one-sentence answer: "sales" (what sold, revenue, cost and margin over a period, per product with sell-through, or added up by customer, category or channel with group_by; margin is on what has shipped: the revenue of shipped units less their cost of goods), "stuck" (stock with no sale in N days, at cost), "abc" (A/B/C classes by a year's consumption value), "turnover" (cost of goods sold ÷ average stock value, days on hand), "ageing" (how long what is on the shelf has been there, in age buckets, the oldest stock assumed to leave first) or "valuation" (what stock was worth at the end of a day, as_of, worked back from today through the ledger; today when as_of is left out).

Websites

ToolDescription
website_list_sitesList the websites this workspace has built in Karmaflow: each site's id, name, public address and status (draft, live, offline).
website_get_siteGet one website: its name, address and status, whether it is live and whether the draft differs from what is live, and the draft's current version (when it was saved, by whom).
website_get_contentRead a website's draft.
website_apply_changesChange a website's draft and save it as a new version.
website_check_draftList what a visitor would notice in a website's draft before it is published: placeholder text nobody replaced, links to pages that are not there, pictures with no description, text too faint to read.
website_list_versionsList a website's saved versions, newest first: when each was saved, by whom, what it changed in words, and which one is the draft and which is live.

Demo tenant

ToolDescription
reset_demo_tenantDEMO TENANTS ONLY.