Skip to content
1 min read · 64 words

Variable: storeRetrievableTool

ts
const storeRetrievableTool: Tool<SpooledJsonArtifact<unknown>>;

Create a new @nhtio/adk!Retrievable record and persist it via the context's storeRetrievable callback.

Remarks

When id is omitted, a UUID v6 is generated. When createdAt / updatedAt are omitted, the current time is used. The model must declare trustTier explicitly — there is no default; the choice is consciously the model's, exposed by the deployer's decision to register this tool.