Subscribe to a scoped tools (tool-call) stream. Same target and
lifecycle rules as useMessages; at the root this returns a
handle delegating to stream.toolCalls.
useToolCalls(
stream: AnyStream,
target: ValueOrGetter<SelectorTarget>
): ReactiveValue<AssembledToolCall[]>| Name | Type | Description |
|---|---|---|
stream* | AnyStream | |
target | ValueOrGetter<SelectorTarget> |