pendingToolCalls

Returns the tool calls of the last assistant message that have no ChatMessage.ToolResult yet.

toolLoop runs exactly these. When a run is paused before its tools node, they are the calls waiting for approval.