Skip to content
Konstera
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", …).

FieldTypeRequiredDescription
statusstringyes
enum: ["open","pending","resolved","closed"]
ticketIdstringyes

Response

Returned by ctx.capability.call("tickets.update_status", …).

FieldTypeRequiredDescription
okbooleanyes
statusstringyes

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.