Skip to content
Konstera
Capability catalogue
inboxinternal

inbox.update_thread_status

Update a thread's status

Transition a thread's status. Called by agents in their reaction code (e.g. CS agent moves to waiting_reviewer when it posts a draft, to closed when the ticket is resolved in the source system).

Effect
internal
Fanout
no
Cache TTL
none
Traits
inbox_writer

Request arguments

Passed as the args parameter to ctx.capability.call("inbox.update_thread_status", …).

FieldTypeRequiredDescription
statusstringyes
enum: ["open","waiting_reviewer","waiting_counterparty","closed"]
threadIdstringyes
format: uuid

Response

Returned by ctx.capability.call("inbox.update_thread_status", …).

FieldTypeRequiredDescription
okbooleanyes

Example call

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

response = await ctx.capability.call(
    "inbox.update_thread_status",
    args={
        "status": "open",
        "threadId": "...",
    },
)

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