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", …).
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | no | Optional link, e.g. to the draft waiting for approval format: uri |
| text | string | yes | Message text (plain text; light formatting where the channel supports it) |
| title | string | no | Optional short heading shown above the text |
Response
Returned by ctx.capability.call("notifications.send", …).
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | yes | |
| sentAt | string | no | format: date-time |
| channel | string | no | |
| messageId | string | no |
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.