Skip to content

ToolCall

A normalized tool-call request as POSTed by the gateway into the hosted runtime. callbackBase is the Trove-provided origin the SDK’s ctx callbacks target; it is appended to the egress allowlist server-side.

PropertyModifierTypeDescription
argspublicunknownThe raw, unvalidated arguments object.
callbackBasepublicstringThe Trove-provided base URL the ctx callbacks POST to.
config?readonlyReadonly<Record<string, unknown>>The caller’s settings for this toolkit, as Trove read them from the tenant’s own database. {} when the toolkit declares none — the control plane omits the field entirely in that case, so an unconfigurable toolkit costs no query and no bytes.
ctxTokenpublicstringThe short-TTL signed capability token for this invocation.
scopes?publicreadonly string[]The manifest scopes granted, controlling whether ctx.trove is present.
toolpublicstringThe (un-namespaced) tool name to invoke.
userIdpublicstringThe authenticated Clerk user id of the caller.