diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index bbff47334..82ea60ee8 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -562,7 +562,7 @@ func (r *runtime) processToolCalls(ctx context.Context, sess *session.Session, c a := r.CurrentAgent() slog.Debug("Processing tool calls", "agent", a.Name(), "call_count", len(calls)) - agentTools, err := r.getAgentToolsWithOAuthHandling(ctx, a) + agentTools, err := a.Tools(ctx) if err != nil { slog.Error("Failed to get tools for tool calls", "agent", a.Name(), "error", err) return fmt.Errorf("failed to get tools: %w", err)