ai.wire.tool_name

The name of the tool a journal call id belongs to: the `ToolUse` block in the assistant turn that issued it. Null for an id no assistant turn issued.

Reference version

Signature

function ai.wire.tool_name(j: ai.Journal, id: string) -> string | null

The name of the tool a journal call id belongs to: the ToolUse block in the assistant turn that issued it. Null for an id no assistant turn issued.

Source:<builtin>/ai/ns_wire/wire.bamlbytes 1951819952