Skip to content
Konstera
Capability catalogue
notificationswrite

notifications.send

Send a notification

Post a one-way notification to the connection's notification channel (e.g. tell reviewers a draft is waiting for approval).

Effect
write
Fanout
no
Cache TTL
none
Traits
none
Implemented by

Slack, Microsoft Teams

The tenant picks one of these when they bind this capability at install time. New implementations land as connectors ship — browse the connector catalogue.

Request arguments

Passed as the args parameter to ctx.capability.call("notifications.send", …).

FieldTypeRequiredDescription
urlstringnoOptional link, e.g. to the draft waiting for approval
format: uri
textstringyesMessage text (plain text; light formatting where the channel supports it)
titlestringnoOptional short heading shown above the text

Response

Returned by ctx.capability.call("notifications.send", …).

FieldTypeRequiredDescription
okbooleanyes
sentAtstringno
format: date-time
channelstringno
messageIdstringno

Example call

From inside your agent's handle(). The kernel resolves notifications.send to the tenant's connector binding at invocation time.

response = await ctx.capability.call(
    "notifications.send",
    args={
        "url": "...",
        "text": "...",
        "title": "...",
    },
)

See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.