Wasm Directoryalpha
Record

tool-call-init

Initial state used to construct a [tool-call].

record tool-call-init {
  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>,
}

Fields

NameTypeDescription
idtool-call-idUnique id assigned by the agent. Surfaced to clients via the streamed update; not used to identify the resource on the wasm side.
titlestringHuman-readable title (e.g. "Reading config.json").
kindtool-kindCategory, used by clients to pick icons / display treatment.
statustool-call-statusInitial execution status.
contentlist​<tool-call-content>Content produced so far.
locationslist​<tool-call-location>File locations this call is touching.
raw-inputoption​<string>Raw JSON-encoded input parameters.