Skip to content
Konstera
Capability catalogue

One stable interface. Many connectors behind it.

Every agent calls the same 47 canonical capabilities via ctx.capability.*. The tenant picks which connector implements each one — Shopify or BigCommerce, Zendesk or Freshdesk, Postgres or Snowflake. Your agent code doesn't change.

Catalogue version 1

Purpose-first

A capability names a business purpose (refunds.issue, tickets.list_new), not a vendor API. Agents code against the purpose; the kernel routes to the tenant's connector.

Swappable implementers

A tenant on Shopify today and NetSuite tomorrow runs the same agents. Switching connectors is a binding change, not a code change.

Metered + policy-gated

Every capability call flows through the kernel — logged, cost-attributed, and gated by the agent's manifest permissions and the tenant's autonomy policy.

All 47 capabilities

Grouped by category, keyed by purpose.

Click any row for the full arg + response schema, example call, and metadata.

CapabilityEffectFanoutDescription
chat · 2
chat.list_newreadyesPoll a chat channel like an inbox: new messages from people (bot and app posts are skipped), oldest first, shaped like canonical tickets. Fans out across bindings like tickets.list_new; chat.reply goes to a single binding.
chat.replywritenoAnswer a chat message in its thread where the connector can, otherwise as a new message quoting the original (threaded=false).
cloud · 3
cloud.costs.summaryreadyesActual spend for a period, grouped by service (one entry per connection). At most one year.
cloud.health.eventsreadyesProvider incidents and planned maintenance that affect this account. Fans out across bindings.
cloud.resources.listreadyesRead-only inventory of cloud resources. Fans out across bindings.
code · 4
code.get_filereadnoText content of one file. Large files are cut at the connection's max_file_bytes (truncated=true).
code.searchreadyesFind files whose content matches a query. Fans out across bindings.
pull_requests.listreadyesPull requests in one repository, most recently updated first. Fans out across bindings.
repos.listreadyesRepositories the connection can reach (limited by the token and the connection's allowed list). Fans out across bindings.
customers · 4
customers.lookup_by_emailreadnoLook up a customer by email across the ecommerce platform. Returns identity + loyalty tier + LTV + account flags for the inbox customer context panel.
customers.recent_ordersreadnoLast N orders for a customer, newest first. Thin wrapper over the ecommerce connector's order list; implementers can delegate to orders.lookup_by_email when customerId maps 1:1 to email.
customers.recent_returnsreadnoLast N returns (RMAs) for a customer, newest first, shaped as list items for the reviewer context panel.
customers.recent_ticketsreadnoLast N tickets for a customer (closed or open), newest first. Powers the "previous tickets" rail in the customer context panel.
email · 1
email.sendwritenoBare-email send via SMTP/SendGrid/SES. Use tickets.reply when the source is a ticketing system; use email.send only when no ticket context exists.
evidence · 5
db.jobs.historyreadnoRecent SQL Agent job runs and step results from msdb (newest first, at most 200). Needs SQLAgentReaderRole in msdb; not available on Azure SQL Database. Internal evidence: for understanding only, never quoted.
db.object.definitionreadnoReturns the T-SQL text of a procedure, view or function (OBJECT_DEFINITION), capped at 200 KB, subject to the connection's object_allowlist. Never table data. Internal evidence: for understanding only, never quoted.
db.objects.listreadnoFinds user objects by name in a SQL Server database (sys.objects), at most 200, filtered by the connection's object_allowlist. Metadata only. Internal evidence: for understanding only, never quoted.
db.proc.statsreadnoExecution statistics of a stored procedure from the plan cache (sys.dm_exec_procedure_stats), summed over its cached plans. Every field is null when the procedure is not in the plan cache (not run since the last restart or cache flush): that means no statistics, not zero executions. Internal evidence: for understanding only, never quoted.
logs.queryreadnoRuns a read-only KQL query against an Azure Monitor Log Analytics workspace (including workspace-based Application Insights tables). Bounded: max_rows, 256 KB, timeout. Internal evidence: for understanding only, never quoted.
files · 2
files.getreadnoFetch one file by ID: metadata, link, and its text when the file is text-like (txt, md, html, csv, json, xml). Other formats return metadata and a link only.
files.searchreadyesFind files (and folders) by name or content in a connected file store such as OneDrive or SharePoint. Returns metadata and a link; use files.get to read a file.
inbox · 3
inbox.update_thread_statusinternalnoTransition a thread's status. Called by agents in their reaction code (e.g. CS agent moves to waiting_reviewer when it posts a draft, to closed when the ticket is resolved in the source system).
inbox.upsert_messageinternalnoInsert or update a message in a thread. The (thread_id, external_message_id) UNIQUE constraint makes duplicate inserts impossible at the DB layer — safe to call from any insertion path (sync poll, webhook delivery, agent-authored response from tickets.reply).
inbox.upsert_threadinternalnoCreate a new thread or update an existing one keyed by (tenant, channel_type, external_ref). Platform-shipped write primitive used by ThreadMirrorService internally and callable by agents directly for non-mirrored writes.
issues · 4
issues.commentwritenoAdd a comment to an issue or work item. Needs write permission on the token. Goes to a single binding.
issues.createwritenoOpen a new issue (GitHub) or work item (Azure DevOps). Needs write permission on the token. Goes to a single binding.
issues.getreadnoOne issue or work item, with its comments. Goes to a single binding.
issues.listreadyesIssues (GitHub) or work items (Azure DevOps), most recently updated first. Pull requests are not included. Fans out across bindings.
knowledge · 2
knowledge.getreadnoFetch the full body of a single KB article by ID.
knowledge.searchreadyesRetrieve KB articles ranked by relevance to a natural-language query.
macros · 1
macros.listreadnoList the tenant's macros / canned responses from the ticket system for one-way mirror into Konstera (ADR-022 §Macros). Zendesk: GET /api/v2/macros.json. Freshdesk: GET /api/v2/admin/canned_responses. Intercom: GET /articles (closest analogue). Called on first connection sync and on manual re-sync.
notifications · 1
notifications.sendwritenoPost a one-way notification to the connection's notification channel (e.g. tell reviewers a draft is waiting for approval).
orders · 4
orders.list_recentreadyesList recent orders, optionally scoped to a single customer and/or a time window.
orders.lookup_by_emailreadyesFetch recent orders for a customer identified by email address. Retail primary lookup.
orders.lookup_by_idreadnoFetch a single order by its ID. Canonical shape returned regardless of source system.
orders.lookup_by_phonereadyesFetch a customer's recent orders by mobile number, for stores that identify customers by mobile. Weaker identity proof than the sender's email: agents should flag these matches for human confirmation.
refunds · 1
refunds.createwritenoIssue a refund against an existing order. Not all connectors implement writes; check available() before calling.
sla · 1
sla.computeinternalnoCompute the current SLA state for a thread using the tenant's SLA policies. Platform-shipped generic computation — any inbox-producing agent benefits. v1 uses a tenant-wide default policy; per-channel + per-tier policies land in a follow-up.
thread_mirror · 3
thread_mirror.registerinternalnoRegister a sync job so the platform's ThreadMirrorService (ADR-024) mirrors an external threaded conversation into the reviewer inbox. Called by agents at install time (or dynamically — e.g. CS agent registers one per ticket started). Returns a mirrorJobId for subsequent management calls.
thread_mirror.statusinternalnoQuery the current state of a sync job. Used by the portal to render "last synced 23s ago" indicators and by agents to decide whether a draft is based on fresh enough state.
thread_mirror.unregisterinternalnoStop syncing a registered thread mirror job. Idempotent — unregistering an unknown job returns ok=true. Pre-existing messages in the thread are preserved; only the sync loop stops.
tickets · 6
tickets.get_by_idreadnoFetch full ticket including the message thread. Each thread entry carries its externalMessageId (dedup key) and isPrivate (internal note flag).
tickets.list_newreadyesPoll for tickets received since a given timestamp. Used by scheduled CS agents.
tickets.list_unresolvedreadnoEvery ticket not yet resolved or closed in the source system, oldest created first, for a one-off re-fetch of tickets the regular poll skipped. Unassigned only unless includeAssigned. Each item carries awaitingReply (no agent response yet, or the customer wrote after it) and total: how many tickets matched before the limit was applied. Does not move any poll position.
tickets.replywritenoPost a reply on a ticket in-system. visibility=public creates a customer-facing comment; visibility=internal creates a private note mirrored into messages.is_internal. Response includes the externalMessageId for immediate dedup backfill.
tickets.update_fieldswritenoWrite triage fields on a ticket: priority, type and tags only (allowlisted by the connector). Used by the CS agent in triage apply mode (ADR-030). Freshdesk: PUT /api/v2/tickets/{id}; priority low/medium/high/urgent = 1-4; the type must be one of the account's ticket types.
tickets.update_statuswritenoMark a ticket as resolved/closed/pending after a reply is sent.

Call any capability from your agent.

One SDK method. Any catalogue entry. The kernel routes the call to the tenant's connector binding — your code stays portable.