Wasm Directoryalpha
Record

tool-call-snapshot

Snapshot of a tool call's current state as part of a permission request. Carries the value (not a resource handle) so the client can render the request without participating in resource ownership.

record tool-call-snapshot {
  id: tool-call-id,
  title: string,
  kind: tool-kind,
  status: tool-call-status,
  content: list​<tool-call-content>,
  locations: list​<tool-call-location>,
  raw-input: option​<string>,
  raw-output: option​<string>,
}

Fields

NameTypeDescription
idtool-call-id
titlestring
kindtool-kind
statustool-call-status
contentlist​<tool-call-content>
locationslist​<tool-call-location>
raw-inputoption​<string>
raw-outputoption​<string>