chat.list_new
List new chat messages
Poll 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.
readSlack, 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("chat.list_new", …).
| Field | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | default: 50 · min: 1 · max: 200 |
| sinceIso | string | no | Only messages posted after this time; default: last 24 hours format: date-time |
Response
Returned by ctx.capability.call("chat.list_new", …).
Array; each element is an object with the following fields.
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | no | Link to the message in the chat app |
| body | string | yes | |
| from | string | null | no | Sender display name (falls back to the user ID) |
| fromId | string | null | no | Sender user ID |
| status | string | no | |
| channel | string | no | |
| subject | string | no | First line of the message |
| fromName | string | null | no | |
| threadId | string | yes | Pass to chat.reply to answer in the thread |
| ticketId | string | yes | Message ID |
| receivedAt | string | yes | format: date-time |
| replyCount | integer | no |
Example call
From inside your agent's handle(). The kernel resolves chat.list_new to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"chat.list_new",
args={
"limit": 50,
"sinceIso": "2026-01-01T00:00:00Z",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.