Capability catalogue
ticketswrite
tickets.update_status
Update ticket status
Mark a ticket as resolved/closed/pending after a reply is sent.
Effect
write Fanout
no
Cache TTL
none
Traits
none
Request arguments
Passed as the args parameter to ctx.capability.call("tickets.update_status", …).
| Field | Type | Required | Description |
|---|---|---|---|
| status | string | yes | enum: ["open","pending","resolved","closed"] |
| ticketId | string | yes |
Response
Returned by ctx.capability.call("tickets.update_status", …).
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | yes | |
| status | string | yes |
Example call
From inside your agent's handle(). The kernel resolves tickets.update_status to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"tickets.update_status",
args={
"status": "open",
"ticketId": "...",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.