Optional ReadonlycancellationOptional ReadonlyonOptional per-call hook invoked exactly once per tool call as soon as that call settles (success, throw, or not-found). Use it for per-call side effects such as streaming a UI event or appending a provider message.
Note: because calls run concurrently, this hook fires in completion order, not input order. Side effects that must be ordered should instead be performed by the caller over the returned (input-ordered) array of execution results.
Optional cancellation token forwarded into each ToolInvocationContext.